I cannot rotate my character no matters what I try it always fails. Here are my blueprint, I tried both but still fails:
I have already check and uncheck use controller rotation yaw in class default but still failed
I have already check and uncheck lock rotation in character mesh but still failed. How to rotate my character then?
What do you mean with failed? No rotation at all?
Take the first one. Print string the rotator value after the AddActorLocalRotation. What happens? What’s the Rotationpersecond value? When you defined the inputaxis input, did you set a value for it?
Yes no rotation at all. the print string result is P=0.0000 Y=15.00000 =0.000000. Rotationpersecond value is 15.0
I set the value of inputaxis input which is 5
So, the first one with “Use Controller Rotation Yaw” unchecked is not working. Ok.
- Is there anything else in the BP, like in the Tick?
- Are you using a controller class?
- Did you create your character from scratch or did you use some template? If so, what did you change.
Try creating a new character with only the rotation code.