Quantcast
Channel: Questions in topic: "enemy"
Viewing all articles
Browse latest Browse all 1488

How can I get a game object to follow another?

$
0
0
Hello all, I have a player that only moves along the Y axis and I have a stationary enemy. How can I get my enemies eyes (2 sphere game objects) to follow my player's movement up and down? I've tried "transform.LookAt(targetPoint.position);" but it completely distorts the eye objects. Thanks in advance to anyone who can help with this.

Viewing all articles
Browse latest Browse all 1488

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>