Posted by Andrew / 19th January 2010 in Production Diaries
Back in the first week of production, we were using Euler angles to create the world matrix for an entity. Now we have converted to using directional vectors, and believe me, it wasn’t pretty. Our problem – SetDirection only modifed one axis of the matrix. As an entity rotated, the forward direction would become aligned with the right direction, [...]