Archived

This topic is now archived and is closed to further replies.

RedFTiger

rotating a player

Recommended Posts

I have a enemy that i want to rotate to face the player. since i only wanted to rotate on the y axis i got the angle between the enemys view and players position and made that the new angle for the enemy. this works when i move in one direction but when i go the opposite direction the rotation dosent change it just keeps rotating in the same direction constantly

Share this post


Link to post
Share on other sites