THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 13/04/2003 at 18:57, xxxxxxxx wrote:
Cinema 4D Version: 8.100
Platform: Mac ;
Language(s) : C.O.F.F.E.E ;
With GetPos I can get the local coordinates of an object. How can I get and set the world coordinates of an object, even if it has parents? Thank you very much in advance.
On 14/04/2003 at 00:40, xxxxxxxx wrote:
The GetMg() function for the BaseObject (looks like COFFEE has this too), then from the Matrix the position is found with GetV0(). (in C++ it is the 'off' member, V0 should be the same thing I think).
On 14/04/2003 at 04:15, xxxxxxxx wrote:
Mmmmm Thank you. And, how do I get the global rotation and scale? Are they also in there?
On 14/04/2003 at 07:34, xxxxxxxx wrote:
Yup, see the COFFEE docs for Matrix, the global matrix contains everything.
On 14/04/2003 at 11:18, xxxxxxxx wrote:
Have a look at the Matrix tutorial in the plugincafe.
It also includes functions you can copy and paste if you don´t want to get into matrices too much.