Quantcast
Channel: Answers for "LookAt without Y axis"
Viewing all articles
Browse latest Browse all 4

Answer by DESTRUKTORR

$
0
0
You should paste those errors, here, so we can try to tell you what's going wrong, but the thing that sticks out to me is that I'm going to assume you're using C#, and you forgot the "new" keyword in front of Vector3? It should look like this: transform.LookAt(new Vector3(target.position.x, transform.position.y, target.position.z));

Viewing all articles
Browse latest Browse all 4

Latest Images

Trending Articles





Latest Images