Tag Archives: angles

Angles Without Trigonometry

I've mentioned before about it being a good idea to avoid using trigonometric functions in games.  There's an interesting article here about some of the reasons for avoiding it with reference to 3D geometry, but since I'm making 2D games … Continue reading

Posted in Unity | Tagged , , , , , | Leave a comment

2D LookAt Function

I've noticed a few complaints in Unity forums that the 2D engine in Unity doesn't have its own LookAt function.  If you just use Transform.LookAt() in the usual way, an object seems to disappear.  It's Z-axis turns to face the … Continue reading

Posted in Unity | Tagged , , , , , | Leave a comment