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

mouseButtons.left to truck and rotate #550

Open
khelkun opened this issue Dec 18, 2024 · 0 comments
Open

mouseButtons.left to truck and rotate #550

khelkun opened this issue Dec 18, 2024 · 0 comments

Comments

@khelkun
Copy link

khelkun commented Dec 18, 2024

Is your feature request related to a problem? Please describe.

Not likely a problem, I'd like a camera control where mouse button left and drag (or touches one finger and drag) would aim this way:

  • drag the mouse on screen Y axis aims as truck to move forward & backward (staying parallel to the floor of the world)
  • drag the mouse on screen X axis aims as rotate to look left and right (rotate on Y axis of the world space)
    So most likely a first person mode but with this specific mouse bindings.

Describe the solution you'd like

First thanks for this lib that solve many issues about camera navigation controls. Ideally I'd like to set:

cameraControls.mouseButtons.left = CameraControls.ACTION.TRUCK_X_ROTATE_Y

Describe alternatives you've considered

No response

Additional context

I'd be curious to know what was your knowledge base to write this lib, sorry if you've already answered this question too many times ^^.

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

No branches or pull requests

1 participant