• Advertisement
Sign in to follow this  

Using the mouse to move the camera.

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

Advertisement
fast reply...

each loop get the amount the user moved the mouse in the x and y axes then rotate the camera target in the Y(up) axis by the amount in y multiplied by a sensitivity factor and rotate camera target in the X axis as you do for Y(limit the X axis for the camera doesnt 'loop'). You can do it using some trigonometry...

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement