Why sometimes when I turn the character will suddenly rotate?
The character is set in flight mode!
BP_ThirdPersonCharacter:
Character Movement:
How can I fix this?
Why sometimes when I turn the character will suddenly rotate?
The character is set in flight mode!
BP_ThirdPersonCharacter:
Character Movement:
How can I fix this?
i guess velocity is the problem.when it reached 000.it’s going to rotate to a un desired direction.
In tick better to make a condition check.
for example:
on movement buttons pressed,set a Boolean called “is moving” to true,on completed set it to false.
And then in tick check the Boolean,don’t let it rotate when it’s not moving.
The problem is FInterpTo. That’s not meant to “smoothly” interpolate rotations. A float can go from 350 to 0 and viceversa without need to check for “proper rotation”.
The problem is FInterpTo. That’s not meant to “smoothly” interpolate rotations. A float can go from 350 to 0 and viceversa without need to check for “proper rotation”.
You can either do this or manually check and fix float interpolations to rotation values.
This works! Thank you all for the answer!
Do you know how to make it not automatically rotate 180 when I try to go backwards? I want to remain in the forward direction but to be able to go backwards.
Multiply normalized velocity by Move Input axis (Y).
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.