Announcement

Collapse
No announcement yet.

Rotate Pawn to Face Direction it Moves

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Rotate Pawn to Face Direction it Moves

    I have a deer pawn that is being controlled by an AI. I created a simple Behavior Tree to make the deer move, but I'm having trouble making the deer rotate in the direction it's moving. I tried making a service that would rotate the deer in the proper direction, but while it rotates, it's never in the direction it's moving. I've also tried adding "rotate to face bb entry" in the behavior tree, using target location as the blackboard key, but this doesn't work either.


    #2
    In CharacterMovement component of your AI Character BP make sure that Orient Rotation to Movement option is enabled.

    Comment

    Working...
    X