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

Spectator camera modes #195

Closed
assertivist opened this issue Sep 2, 2021 · 1 comment · Fixed by Ymihere03/Avara#1
Closed

Spectator camera modes #195

assertivist opened this issue Sep 2, 2021 · 1 comment · Fixed by Ymihere03/Avara#1
Labels
enhancement New feature or request

Comments

@assertivist
Copy link
Member

Allow spectators to switch to a 3rd person follow cam or a freely-movable static camera.

@assertivist assertivist added the enhancement New feature or request label Sep 2, 2021
@Ymihere03 Ymihere03 linked a pull request Mar 20, 2024 that will close this issue
@Ymihere03
Copy link
Contributor

PRs #391 and #392 have added a free flight camera used in spectator mode. A new file CFreeCam.cpp was added to contain all the handling for the new camera. Additional code was added outside the new class to make the new camera view get used at the proper time.

Here are the features that align with this issue:
Free camera can toggle on/off during spectator mode.
When toggled on:

  • Free camera can strafe in the six orthogonal directions in 3d space
  • Camera can rotate in a complete sphere around the sphere's center (camera always looks at the center)
  • Camera can zoom in and out (changes radius of the sphere)
  • User can select a player to follow using the existing Spectate Next/Previous controls
  • Camera sphere will stay centered on the selected spectate player until the following occurs:
    • Free cam is toggled off
    • Spectate Next/Previous controls are pressed again
    • The camera is moved in any of the 6 orthogonal directions. Zooming or rotating the camera will keep the camera centered on the spectate player.
  • At the time of this comment, HECTOR's are the only in-game object that the free camera can center on

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 a pull request may close this issue.

2 participants