Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mouse camera control #1

Open
ryanshow opened this issue Aug 7, 2014 · 1 comment
Open

Mouse camera control #1

ryanshow opened this issue Aug 7, 2014 · 1 comment
Assignees

Comments

@ryanshow
Copy link
Owner

ryanshow commented Aug 7, 2014

The camera should be guided on the edge of an invisible sphere, with the center of the sphere being the object that the camera is looking at.

  • Holding the middle mouse button should enable the user to drag the camera along the surface of the sphere. The mouse moving in the X direction should move the camera along the longitude of the sphere, and the mouse moving in the Y direction should move the camera along the latitude of the sphere
  • The mouse wheel should make the sphere larger or smaller
  • Holding shift + the middle mouse button should move the camera on a plane tangental to the sphere at the point the camera is at.
@ryanshow ryanshow self-assigned this Aug 7, 2014
@ryanshow
Copy link
Owner Author

The first two camera movement techniques have been implemented.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant