Rotating Cube + Root Motion
Hi,
I'm having an issue with a very basic animation..
I've created the above cube in C4D and applied some bone dynamics to it. What I'm trying to do is to animate the cube rotating in the X axis, so as to fall on its face. Because of this, I've moved the anchor point to the bottom edge of the cube.
I've got it all set up correctly in C4D and it looks good, but when I import the FBX to Unity, there is of course no root XZ motion, just rotation. So what happens is that it plays the animation in loop, always in the same XZ position, snapping back to where it started, never progressing forward.
I've even created another object in C4D which moves only in Z axis, mimicking the movement of the cube, but I've been unable to use that movement as the root motion..
Any idea what I'm doing wrong here and how to get around this? I'd rather not use curves as I might have to tweak the animation etc..
Here's the cube and fake root object in C4D:
And here it is in Unity:
Thanks, PJ
for me it looks like you need to keep the cube pivots x position aligned with the bone root x. unity shows, that the motion is applied, but since the cube in addition moves away from it's pivot it moves twice as fast and since the animation starts AT the pivot, it snaps back.