Animator API requested: UnbindSceneTransform

Currently it’s not possible to unbind a single scene transform from an animator. It is only possible to call UnbindAllSceneHandles, which unbinds every previously bound scene transform and property. This makes it difficult to make changes to an animator’s bindings when some of those bindings are changing dynamically.

To give an example of why this would be useful for me, I have written a playable-based IK system, where multiple IK effectors may be simultaneously active for a single animator. The effectors are scene transforms used to adjust the target positions of various rig bones. Whenever I update an effector with a different transform,I have to unbind all scene handles, bind the new effector transform, and then rebind all the previously bound handles that didn’t need updating. This is inefficient and cumbersome to say the least. An API where I can dynamically unbind only the scene transform that needs updating would make my system significantly cleaner and faster.

1 Like

Not a bad idea, but if they ever start working on the Playables API again I’d rather see them prioritise issues that are currently impossible to work around, such as the ability to set a Playable’s time without forcing it to stay at that time after the next animation update and fixing the Animation Rigging package to not reset its values whenever you connect or disconnect any Playables.

1 Like