Reputation: 841
Is it possible to apply root motion to non humanoid objects?
I need the object position to be incremental after every animation in animation controller. Position in default is reset to starting point of current clip. How do i prevent this? I need to make animation state machine with part of clips to make incremental changes in objects properties.
Upvotes: 1
Views: 3386
Reputation: 2442
From Unity Documentation :
Generic Root Motion and Loop Pose
This works in essentially the same as Humanoid Root Motion, but instead of using the Body Transform to compute/project a Root Transform, the transform set in Root Node is used. The Pose (all the bones which transform below the Root Motion bone) is made relative to the Root Transform.
Apparently yes you can use the RootMotion on non-humanoid objects. You need to set the correct Root node in the Rig section for models and animations, this should be the node that actually contains the root motion that you want applied to your generic model.
Here's a thread about it on Unity Forums.
Upvotes: 4