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

CMCL-1548: always update vcam transform, even if no tracking target #1020

Merged
merged 1 commit into from
Aug 6, 2024

Conversation

glabute
Copy link
Collaborator

@glabute glabute commented Jul 31, 2024

Purpose of this PR

CMCL-1548: In the past, the CinemachineCamera's position and rotation were only pushed back to the transform if a tracking target was present. This was to protect statically-positioned cameras from having their transforms changed by procedural extensions.

This limitation has been removed, as the relevant extensions will affect the corrected position/rotation in the state, not the raw position/rotation, and only the raw position/rotation is pushed back to the transform.

Testing status

  • Added an automated test
  • Passed all automated tests
  • Manually tested

@glabute glabute requested a review from eakesy July 31, 2024 13:59
@glabute glabute requested review from vanessa-simard and removed request for eakesy July 31, 2024 19:21
@glabute glabute merged commit eb88b2d into main Aug 6, 2024
46 of 48 checks passed
@glabute glabute deleted the dev/always-update-vcam-transform branch August 6, 2024 16:22
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.

1 participant