Not a bug

Cinemachine can't sync when animation being created or edited

Recep 1 month ago updated by Peter - Soxware Developer 2 weeks ago 1

Hi, i just bought this asset and i have a problem.
When i update my model's head position in pose editor my cinemachine camera can't track it.
Is there any solution for this?
I guess GameObject HideFlags causing this problem.

Here's a screenshot

Image 1557



My cinemachine position composer should be tracking CameraFollowStandart transform. but it's not in pose editor.

UMotion Version:
Unity Version:
6.3

Answer

Answer
Not a bug

Hi Recep,
thank you very much for your support request.

UMotion is working on a clone of your character while it's assigned to the pose editor (and hides the original). This allows UMotion to have a non-destructive editing session on your character.

As you mentioned, this might interfere with how Cinemachine detects the transform to follow.

What you would need to do is check exactly how the transform detection mechanism works and then probably use UMotion's API or the UMotion callback mechanism to make it work again even while the character is cloned. Maybe Cinemachine has a method you can call to provide it the transform to follow. Then you could simply add a button to UMotion that passes that transform of your cloned character to cinemachine.


Best regards,
Peter

Answer
Not a bug

Hi Recep,
thank you very much for your support request.

UMotion is working on a clone of your character while it's assigned to the pose editor (and hides the original). This allows UMotion to have a non-destructive editing session on your character.

As you mentioned, this might interfere with how Cinemachine detects the transform to follow.

What you would need to do is check exactly how the transform detection mechanism works and then probably use UMotion's API or the UMotion callback mechanism to make it work again even while the character is cloned. Maybe Cinemachine has a method you can call to provide it the transform to follow. Then you could simply add a button to UMotion that passes that transform of your cloned character to cinemachine.


Best regards,
Peter