Getting a rectangle to land on top of a rectangle

Started by
9 comments, last by PhilObyte 9 years, 10 months ago

When I want the camera to follow an object I multiply the camera matrix with the object matrix. So it follows/rotates/scales with the object (I usually disable scaleWithParent).

I recommend to read this article: http://www.gamedev.net/page/resources/_/technical/math-and-physics/making-a-game-engine-transformations-r3566

This topic is closed to new replies.

Advertisement