Hello All,

I need to find out the position matrix of a frame inside a component

I can find the frame PositionMatrix.P.X but it is different from the 3D world matrix, I need to get the 3D world matrix not the local node matrix.

Thanks

As you said, the vcFrame only knows the local position matrix. You need to get the parent node world position matrix and use this to calculate the vcFrame world position matrix.

Check the documentation for vcNode.

@Este I found the parent position matrix, but it gives me the value of the parent not the frame. I found “localToWorld” I can’t get it to convert the values. Do you have a example I can follow?

You need to calculate the frame world location based on the parent world position and vcFrame local position. Should be simple math to add these positions together.