I have created an animation for an enemy in my game that involves the torso rotating. It plays fine in the editor, but once the HumanoidRootPart is unanchored and it’s played in the NPC the torso does not move and the HumanoidRootPart rotates instead.
I’ve found that I can fix the rotation issue by animating in the opposite rotation of what I want.
This is not optimal but I guess it works.
I’m curious if anyone else has had a better solution to a similar issue.
Is this worthy to be classified as a bug or are we just doing something wrong?
Ok, this is getting ridiculous.
This is how it looks like in the animator:
This is what it looks like in game:
It seems to be mixing up the MainTorso with the HumanoidRootPart
Why is this happening?
EDIT:
Ok I seem to have finally fixed the bug.
I set both the MainTorso and HumanoidRootPart to have their Massless property set to true.
Then I made the HumanoidRootPart bigger.
This seems to have been the solution for me.