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

Rotation of hidden object "cm" involves rotation computing in CinemachineTrackedDolly? #131

Closed
LiUSTC opened this issue Nov 10, 2020 · 1 comment

Comments

@LiUSTC
Copy link

LiUSTC commented Nov 10, 2020

In cinemachine pipeline, cinemachine components are added to hidden objects named "cm". But these objects' local rotations are random by "Create Dolly Camera With Track" or else. When using CinemachineTrackedDolly, if we rotate the parent virtual camera, we get a very weird behavior. I wonder why GetCameraOrientationAtPathPoint uses transform.rotation but not VirtualCamera.transform.rotation?

https://github.com/Unity-Technologies/upm-package-cinemachine/blob/master/Runtime/Components/CinemachineTrackedDolly.cs

@glabute
Copy link
Collaborator

glabute commented Nov 10, 2020 via email

@glabute glabute closed this as completed Mar 19, 2024
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

2 participants