An error occurred while saving the commentJames Smith commented
Hi Bruce, thanks for your comment, i'm very excited because I've been told it can't be done.
Are you saying with the help of an AEGP an effect plugin can be applied to a layer, with the following controls :
1) Layer Control A
2) Layer Control B
3) Point Control
Layer control A and B allow the user to select layers. With the help of AEGP, the midpoint of Layer A and B position is calculated and the value output in Point Control 3.
Point Control 3 is read-only and can be accessed by expressions, for example to make a null follow the midpoint.
This would all need to work regardless of whether the layer is selected and also calculated at render-time.
I appreciate this very simple example can be done easily with expressions, but my goal is to create an IK plugin that doesn't rely on multiple expressions, on different layers.
The IK calculation would all be contained in one effect and able to share calculated bone data.
If you're confident this is possible, please can you explain in more detail how I can achieve the simple midpoint example.
I'm very good at writing scripts and created a few basic effect plugins, but can't figure out how to achieve this.
Really appreciate any help/advice.
JamesJames Smith shared this idea ·