World Coordinates

Hi again

How can I find the xyz world coordinates of a camera (or any other object)?

Thanks

if you mean the Camera (Transform Softimage) there is an output pin named position that will give you your xyz.

if you mean xyz world coords out of a transform then you should get it using the Decompose node.

Cheers mate

Yes the position output pin does give the value xyz value that I require.

Can anyone explain the theory behind getting this same value if using a different sort of ‘camera’ control?

you could achieve this by inverting the view transform and use ApplyTransform or * (3d) to get the xyz of the world position.

Superstar!

I always have mixed feelings when I discover that something I’ve been trying so hard to figure out is so straightforward…

Thanks