Hello,
I saw this plugin in After Effects called Joysticks and Sliders,
Basically, you create 5 extreme poses (normal, left, right, top, down) and the plugin will then create a controller with which you can move the head rig in any direction.
To understand, you can watch how it works.
I tried to understand, how come the plugin interpolates between two states. I worked on a script and it does what the plugin does.
The script, for now only works for origin and position. My plans are to extend its usage to do most of the interpolation (which is possible).
Hereās the demo file
characterdemo.sifz (39.6 KB)
The script(plugin) is not yet useful for anyone right now, but I will work on that. So you can use it.
For those who want to know how it works,
First, you keyframe the 5 poses on 5 frames.
Then you will have 5 vectors that represent the position of the group/layer.
Now according to the controller (which is an exported value and is not connected to anything).
The current position of a group/layer is calculated by adding the vectors together and scaling the vector with respect to the controller from the center of the controller box. You can just look at the origin(offset from transformations for a group) and see the nested converter.
Current Limitations:
Only works for the position (origin),
Need to manually create the exported valuenodes named ācontrollerā and also convert the controller to composite and export the X-Axis as ācontrollerXā, and Y-Axis as ācontrollerYā.
The controller origin currently is at -300, 100. And the box of 200x200 px around the controller is also fixed. I will work on them so that we can move the controller where ever we want. I will post the script next week (only if possible, my exams are near).
If you any ideas then you can suggest me. Also ask any doubts.