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

CameraController for sample scene #127

Merged
merged 2 commits into from
Oct 27, 2022
Merged

CameraController for sample scene #127

merged 2 commits into from
Oct 27, 2022

Conversation

mlavik1
Copy link
Owner

@mlavik1 mlavik1 commented Oct 26, 2022

Added a CameraController to the sample scene.

W: Forward
D: Backward
A: Left
D: Right
E: Up
Q: Down
Mouse scroll: Forward/backward
Hold right mouse button + move mouse: Rotate
Hold shift: Increase movement speed

Position/rotation deltas are smoothed, like in the Unity Editor scene view.

Completely unrelated, but I also fixed some warnings in other scripts.

@mlavik1 mlavik1 added the enhancement New feature or request label Oct 26, 2022
@mlavik1 mlavik1 merged commit 5ffbd02 into master Oct 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant