This topic is now archived and is closed to further replies.



Recommended Posts

ShmeeBegek    196
I am currently writing a renderer that uses 2d sprites in a 3d heightmap. My question is concirning the math around it, I need to first find out the rotations around the object on the x y and z axis, so that I can then apply those rotations to the sprite and make it always face the player, I also need these numbers to correct the sprite''s frame (for "rotation"). Thanks, ~SPH P.S. I of course have the x,y,and z coordinates of both the sprite and the camera.

Share this post

Link to post
Share on other sites