Express the sphere point position in world space : PointPosition * Self.Kine.Global = GlobalPointPosition
Then Express sphere point positions in the Null space : GlobalPointPosition * Invert of Null.Kine.Global
Guillaume
From: softimag...@listproc.autodesk.com [mailto:softimag...@listproc.autodesk.com] On Behalf Of Eric Thivierge
Sent: Wednesday, May 25, 2011 2:22 PM
To: soft...@listproc.autodesk.com
Subject: Expressing point positions in reference to another object's Matrix?
The easy way is to use XSIMath.MapObjectPoseToObjectSpace() or XSIMath.MapObjectPositionToObjectSpace() depending on what components you want to remap.
If you’d rather do the math yourself, you can multiply the points’ positions by the sphere’s global transform to convert to global space, then multiply that result by the inverse of the null’s global transform to convert to the null’s local space.
Matt
From: softimag...@listproc.autodesk.com [mailto:softimag...@listproc.autodesk.com] On Behalf Of Eric Thivierge
Sent: Wednesday, May 25, 2011 11:22 AM
To: soft...@listproc.autodesk.com
Subject: Expressing point positions in reference to another object's Matrix?
If I have a sphere and I want to get the point positions from the sphere and see what their point positions are in reference to another null's transforms how would I do that? Can't wrap my head around it...
Perhaps there's something to be learnt from exploring its guts:
http://vimeo.com/groups/ice/videos/3827160
The compounds', that is. :p