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

Spruce up Camera Controls #8

Merged
merged 2 commits into from
Jan 8, 2024
Merged

Conversation

Froggy618157725
Copy link
Collaborator

Fixes Q+E to be relative to camera.
Left Alt will swap to an absolute mode, where Q+E are up and down, and WASD are locked to the X/Y plane.
Removed Ctrl+Q for quit, as that conflicts with Ctrl+Q for move down slowly.

src/camera.rs Outdated Show resolved Hide resolved
src/camera.rs Outdated Show resolved Hide resolved
Q and E now move relative to camera.
Alt now moves up and down absolutely, and locks wsad to the XY plane.
Ctrl is regularly used for slow movement, and Q is down.
This leads to unfortunate results. Probably best to just remove that.
Copy link
Owner

@cohaereo cohaereo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@cohaereo cohaereo merged commit 91ec1ef into cohaereo:lightfall Jan 8, 2024
1 check passed
@Froggy618157725 Froggy618157725 deleted the controls branch January 13, 2024 05:39
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

Successfully merging this pull request may close these issues.

2 participants