targetgroup weights don't get recorded by cinemachine

Actually this is a Timeline limitation: it won’t animate fields in array elements, and the target group members are an array.

There is a workaround, which is a behaviour that you can attach to a target group whose members weights you want to animate. It exposes a fixed number of these as animatable fields, and will pass on these values to the group.

Script is attached here. As written, it handles up to 8 group members - it’s easy to extend it if you need more.

5425050–551955–GroupWeightManipulator.cs (3.26 KB)

1 Like

roger that
I’ll use it in the meantime, any near term plan to remove that limitation?

no, it runs pretty deep

what’s the right way to go from a group composition to a solo compo?
changing weight on targetgroup does weird things

Changing weights should do it. How are you changing them?

by hand
framing goes from both of them in sight, the camera far enough and when i start zeroing out one weight the camera gets super close to the one with the 1 weight
that distance to subject is what i call weird things

Do you have the radius of the group items set properly? If you’re trying to frame a single item of radius 0 it will grow very large indeed. Give it a sensible radius in the group.

got it! I didn’t see the radius setting, all is now good in the neighborhood

1 Like