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

New Spectator Camera mode: Free roam camera #391

Merged
merged 7 commits into from
Mar 13, 2024

Conversation

Ymihere03
Copy link
Contributor

@Ymihere03 Ymihere03 commented Mar 12, 2024

Adding a new camera mode for spectators: Free Roam Camera

While spectating, the player can press 'Space Bar' to turn on the Free Cam. (This control is shown in the UI)
When toggled on the camera will switch to a third person view of the game in progress.

While viewing in free roam mode the camera has a few controls for changing the camera view:
Forward/Left/Right/Backward (W,A,S,D)- Camera strafes in the given direction
Q - Camera moves vertically Up
E - Camera moves vertically Down
Mouse Left/Right - Camera rotates horizontally in a circle around its focal point
Spectate Next/Prev - Camera will follow the next HECTOR in the list. Camera can be disengaged from the HECTOR by pressing any of the strafe controls

Currently no new controls were added for this so they are based on your HECTOR piloting controls.
Separate free cam controls will likely need to be added later.
Added new controls in the prefs specifically for free cam control

Known Issues

When the free cam is toggled on, some players seem to get visibly removed from the player list only for the player using the free roam cam. From what I could tell, this seemed to not cause any problems for the rest of the server.

@Ymihere03 Ymihere03 marked this pull request as ready for review March 12, 2024 18:35
@Ymihere03 Ymihere03 merged commit 7133f34 into avaraline:main Mar 13, 2024
3 checks passed
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