Character Rotates When Jumping

Hello i have a problem, when the character jumps it rotates towards a specific direction

igmur

Does anyone know what the problem might be and how to fix it, thanks to any replies

How are you jumping? What script is running on Tick. You must give us something to work with.

jump

just the default third person template jumping

tick

this is the only rotation related thing running on tick

Can we see how Target Capsule Rotation is being calculated?

The calculation for A seems to be incorrectly derived from Velocity and will probably equal zero in this case. Do note that jumping is also velocity! This would only work correctly when you’re moving in direction other than exclusive Z - as in jumping sideways / forward. Jumping in place will rotate you North, so to speak.


  • is there a reason you’re making your own rInterp for the capsule?

image

Normally the above would be used, but you may want more / specific control, ofc. Just asking.

  • is there a reason why we’re not using control rotation instead?

Try something along the lines of:

There might be additional snags to work out depending on how you need it to work.

additional snags

Probably this. Feels pretty OK to jump around with interp speed of 10 or thereabout. Do tell how it goes.

thanks man i might use this instead