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

Regarding camera controller 3rd person view #82

Open
trsh opened this issue Feb 18, 2025 · 2 comments
Open

Regarding camera controller 3rd person view #82

trsh opened this issue Feb 18, 2025 · 2 comments

Comments

@trsh
Copy link

trsh commented Feb 18, 2025

Maybe bugs:

  1. Turning Auto reset off, results in weird behavior, where camera is sort of locked behind the target node (looks like ignoring offset) and not reacting when this node changes orientation.

  2. Reset Timeout setting seems to have no effect at all, but then I don't really understand for what Auto Reset was meant.

What do I really wish for:

  1. A camera that is fixated behind the target node with a spring or similar.
  2. I like the smooth camera updates when target node rotates, but there should be a setting on how fast it does. For some games it needs to be more instant.
  3. For some games, the camera should not rotate with the target node, only react to translation. So another setting would be appreciated. Example https://developer.playcanvas.com/tutorials/third-person-controller/
  4. Spring should adjust when it collides with something. So its not the case, that player is a room, and camera is outside. I see there is already a camera collision option, but I haven't tested it yet. So I wrote this anyways :)
  5. More setting should be exposed. Sometimes in a shooter game, we need to switch between TPS and FPS, for example for precise aiming. Maybe its just changing offset, distance and switching off/on collisions.
@trsh
Copy link
Author

trsh commented Feb 22, 2025

Image

I would also want to be able to control this angle, so we can have some look up and down feature.
Same example: https://developer.playcanvas.com/tutorials/third-person-controller/ - but this feature should be available for both modes, where camera fallows horizontal angles and where it doesn't (like in the url).

@trsh
Copy link
Author

trsh commented Feb 22, 2025

With camera collisions enabled, camera is colliding with shapes, that have collisions disabled. For example players body parts.

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