Cannot access Framing Transposer

Hi,

No matter what kind of Referencing I use, I cannot access fields of Framing Transposer under Body rig.
I can access all other fields of Cinemachine Virtual Cam but Body → Framing Transposer.
I tried to use,

myCam.GetComponent()

with no success. I’m not able to access Tracked Object Offset of my Cinemachine virtual cam.
It always gives nullref exception.

Help needed…

Thank you.

Try myCam.GetCinemachineComponent()

2 Likes

Thank you so much!
I wasn’t aware of this specific method. I’ve seen this reply in another thread but probably I did something wrong with my references because it did not show up in the pop-up list but now it’s all ok and I can read the values without NullRef.

Thanks again!

It worked "GetCinemachineComponent" for “CinemachineTransposer” but no worked for “CinemachinePOV”

It works for that too.