Essentially I'm creating a 2D game with 3D graphics in Unity iPhone. To minimise the poly count I have cut the backs off many of the objects because you will only see them from the front. My problem is the "LookAt" code. I'm saying LookAt(Vector2) for a 3D arrow to look at something on the X and Y axis, the problem is when the object passes it on the x axis the arrow flips round to show the back of itself. So for example when the target is to the right of the Arrow its all fine but when it's to the left of the arrow it shows the back of the arrow. Does anyone have any idea how I can just limit the arrow to pointing towards the object and not rotating around itself?
Thanks in advance
This solved my problem, though now I have a bit of a "Roll" problem where my character/camera is slowly rolling after some combination of pitch and yaw rotations.
– TheProfessor