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

CameraRig: Add rotation based on character movement (AKA Mario Style) #75

Open
DennisSmolek opened this issue Apr 18, 2024 · 0 comments
Labels
cameraRig enhancement New feature or request

Comments

@DennisSmolek
Copy link
Collaborator

In an earlier version I had this style working.
The camera would stay in a position and update it's lookAt every frame, when the player moved a set distance from the camera it would move along with it.

Problem is now that we have a PC style fixed rig camera it moves as the anchor moves in XZ space and doesn't rotate.

Quick experiments would accept a counter-rotation based approach where as the player moves value A we counter rotate value B.

I can't tell if the distance would effect the calculations for the counter rotation speed.

@DennisSmolek DennisSmolek added the enhancement New feature or request label Apr 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cameraRig enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant