Download

"Orient Rotation to Movement" for Pawn parent class

Hi, Which is the best way to make “Orient Rotation to Movement” on object with parent class “Pawn”? Something similar to parent class “Character”, “CharacterMovement” component, “Orient Rotation to Movement” option. The target is W S A D keys input for movements with auto rotation. I tried some ways, but rotation is not so smooth like a this special option in “Character” class. Blueprint pictures are welcome, thanks!

This video showing what I mean (sheep must rotate like a 3rd person character, also have some problems near to walls)

P.S. Yes… I am beginner to Unreal Engine and maybe this is stupid question.

You can use the RInterp To node to smoothly transition between two rotations:

https://docs.unrealengine.com/latest…ion/RInterpTo/

Tutorial on how to use it: https://www.youtube.com/watch?v=yoKJMhgSxmU