Reading a clone's Global Position in python

On 18/09/2015 at 03:31, xxxxxxxx wrote:

Hello! Can anybody point me in the right direction for this one...

I know for a standard object in C4D it is possible to read an object's global position using .GetMg().off ,
but how to read a clone's global's position?

Mograph's marr.off returns a clone's position relative to the cloner object it's self if I'm not mistaken?

I'd like to know where a clone is in global/world space!

Any help would be much appreciated! Thanks in advance!

On 20/09/2015 at 15:22, xxxxxxxx wrote:

Hi
You can multiply the Cloners Matrix with the clone's Matrix.
Had to read up on this myself actually 🙂
https://developers.maxon.net/docs/Cinema4DPythonSDK/html/misc/matrixfundamental.html?highlight=matrix
(Paragraph 4 in particular)

-b

On 20/09/2015 at 15:36, xxxxxxxx wrote:

Interesting! Thank you Bonsak, I'll give this a go tomorrow! Thank you for your help! This will be a workflow changer for me if I can figure it out 😉

Thanks again!