How to disable the root motion rotation only?

Hi,
In previous versions, there were two seperate options for root motion “Enable root motion translation” and “Enable root motion rotation”. But starting from 4.6, these were replaced by only one option to enable or disable the root motion. How can we enable or disable the root motion rotation only?

Thanks

Bump this question.

I hope we can get an answer asap. Updating from 4.5 to the recent versions broke every animation with enabled root motion, as the root motion rotation is enabled by default.

Guys we need an answer please!!

An answer please!!

Epic please! :slight_smile:

Yes please. Root motion is not usable in its current form if you have more complex root animations

Would love to get an update on this as well, as my characters movement capsule gets rotated a tiny, tiny bit after each animation now.

Hey guys,

Right now as far as i know (as of 4.8) there is no way to disable root motion rotation specifically.
The way i overcame this was by :

  1. Override the CharacterMovementComponent class with your own custom one in C++
  2. Add a bool for root motion rotation toggle.
  3. Override the PerformMovement function and here you can see two things :
    - There will be a PhysicsRotation(deltaTime) call which applies rotation from the acceleration (user input).
    - Below that will the code for root motion rotation.
  4. Add in the bool to these parts (basically do PhysicsRotation(deltaTime) call when the bool is reset and do root motion rotation when the bool is set)

It would definitely be better if this was supported out of the box(like before in montages).

regards,

UP! We need this option epic!

+1 Some way to dynamically enable/disable root motion translation and rotation (independently from each other) during runtime would be great.

bump
bump
bump

Another bump -_- I am literally stuck in my animations!

bump I need this so bad!

Forever bump…

Did Epic ever address this issue? For some reason I get rotation in my root motion, even though the root bone only translates in one axis. Would be nice if we could disable rotation when it’s not needed.

not to my knowledge… the demand for it still exists. in general it would be more than handy to have a way to control, manipulate root motion before it is applied

It was there in UE versions prior to 4.6, they jusy have to bring it back…

Finally, in the last version (4.16.0) we have

UCharacterMovementComponent->bAllowPhysicsRotationDuringAnimRootMotion

Best regards

1 Like

There’s a Node in the Anim Graph called “Rotate Root Bone”. Perhaps you could program a setting in which you decide the value of this rotation in each desired case and trick the capsule rotation.
It has a Yaw and Pitch entries and also a “Mesh to Component” entry (which i’m not really sure of how to use sincerely).

This can work for changing the rotation references (typical for strafing and things like that), but for complex cases you’ll need to trick everything quite much…!