Turn in Place causes character to Spin

Hi so I have been following two tutorials.

  1. Getting the Animation Results You Want Part 5 | Live Training | Unreal Engine Livestream - YouTube
  2. Turn in place mechanic - Part 05 - UE4 True FPS Tutorial Series - YouTube

To try and get my FPS character to have anim offsets and turn in place. I have followed the tutorials and re-watched them 2-3 times and i feel like all of the logic matches the only issue I am having is;

When the rotate root bone

346665-image-2021-08-18-233336.png

Causes my character to spin on the spot in the pitch access when I look right or left.

What software did you use to make your character? Maybe it uses Y up instead of Zup and thus the pitch and yaw values aren’t correct? That’s my only guess as your code looks fine.

I’m using the synty asset packs ( low ploy ones )

How would I check to see this and how would I fix It?

Oh, the Synty assets use a Mixamo rig so it shouldn’t be a problem. Maybe just try telling it to rotate on both the X and Y axis (Roll and Pitch) one at a time and see which works. If none of the three axes work, then it’s a bigger problem, but I’d imagine one of them should.

Sorry for the super late reply.

So I changed the RotateRootBone to use the pitch (With the rootYawOffset plugged in) instead of the yaw and that seemed to work for the basic rotation.

347604-image-2021-08-29-155502.png

However i have two new issues, the rotation seems inverted if I look left the legs rotate right, which then causes the animation and body to freak

I also changed how I get the Pitch, Yaw and Roll to use this as.

That’s an easy fix then. Take the float after the break rotator and multiply it by -1 to invert the value. I’m starting to wonder if maybe you’re character is fine but the tutorial is broken. Lol. Have you tried using this code with the UE4 mannequin and see if it behaves the same way? If it does then find another tutorial. If it doesn’t then definitely your model is the issue. I wonder if your skeleton somehow got mirrored? Anyway hacky work-arounds are always the best solution :stuck_out_tongue:

That fixed the invert but the rotation doesn’t stick after it rotates the character then snaps back it doesn’t actually seem to rotate them.

I will try replicate this setup with the standard character see if i have these issues.