Download

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.