|
I'm looking for a way to make a 2d object (or any object) always face the player in 3d. How can I go about doing so using little system resources? Thanks a ton!
(comments are locked)
|
|
Put this on your object: Thanks works great!
Jul 13 '10 at 09:57 AM
Yisreal
Please upvote and checkmark the answer if it worked for you.
Jul 13 '10 at 10:14 AM
qJake
Can this be constrained to only the Y-axis? so that if my player passes the enemy in 2D , the enemy rotates only around the Y-axis to face in the player's direction.
Aug 04 '10 at 10:14 PM
Vitruvius
Could you make one of those in javascript form for me?
Nov 18 '12 at 06:24 AM
horrorgamer1337
(comments are locked)
|
|
Hi! I´m new in the forum. You can try with this...If you are in a 2D Game and your player only moves f.e. in x axys and the enemy is stopped it only will face up the face lloking the player. I add a damp variable so make the rotation softer. I hope you can use it!!
(comments are locked)
|

@Yisreal, remember to checkmark the best answer, thanks.