Hello, today I started acquaint myself with Cinemachine and already found potential misbehavior. Documentation states that when you set Transposer Binding Mode to “Lock To Target On Assign” - Camera offset from target will be computed…
In practice it just set (and save into m_targetOrientationOnAssign variable) Follow targets rotation quaternion and have no influence on offset, as it should according to documentation and the name of this mode.
Perhaps I misunderstood how should it work then I beg my pardon for disturbance.
The documentation is correct. The offset remains the same, but it is interpreted differently according to the binding mode.
“Lock To Target On Assign” means that the offsets will be interpreted according to a snapshot of the Follow target’s orientation at the time the target was assigned. If the Follow target then rotates afterwards, that rotation will be ignored, and the offsets will remain constant (in world space).
Contrast this to “Lock to Target” in which case the offsets will remain constant in target local space, and will follow the target rotation.
Wow, super fast answer, thank you, Gregoryl! Now I grasped it.
It occur I messed up “look orientation” with “position changes because of target local rotations”, my bad, sorry.