Playmaker Forum
PlayMaker News => General Discussion => Topic started by: Handrews on September 07, 2020, 08:12:16 PM
-
How can i get the direction an object is moving to rotate that object so it looks to that direction?
-
Hi.
Have you tried "Smooth Look At Direction"
-
Yeah but what i need is the direction or angle the object is moving, and later use that to rotate it to that direction.
-
Hi.
Maybe Get Rotation and set to local
-
The object is not rotating while moving, that is the problem. I need that the character i control looks to the same direction is moving. I can't get the rotation because it is not rotating, just moving in diferent axes but looking to the same direction at all time.
That's why i need to get the direction the character is moving to make it rotates every frame to that direction.