Archived

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

camera rotation via center of screen

This topic is 5316 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

ok i am pulling my hair now... spent hours trying to figure out how to rotate(3d) via the center of the screen. still cant figure out. need some advice. thx! edwinz

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
Create a lookat-vector from your campos to your lookatpos.

Now rotate you upvector around that lookat-vector.

/Fredrik

Share this post


Link to post
Share on other sites