• Advertisement


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


This topic is 5256 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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

  • Advertisement