getting object global transform from emit location?

11 views
Skip to first unread message

Sam Cuttriss

unread,
Aug 9, 2012, 2:45:24 PM8/9/12
to softimage
a little thing that crops up all the time.
im trying to get the global transform matrix of an object via the emit location of the particles?

i can get it by pluging it in obviously, but if i have a group or something it would be nice to access what i guess would be termed location > object.referenceframe


I dont seem to be able to get the objects position like this either:
location > kine.global.pos  
location > polymsh.kine.global.pos  

any ideas would be great.
_sam



Grahame Fuller

unread,
Aug 9, 2012, 3:21:01 PM8/9/12
to soft...@listproc.autodesk.com
Not completely automated, but...

Use an ICE tree to store the global transform matrix as a custom ICE tree on each object. Use a script to add the tree to each object in the group, and rerun the script if you add objects to the group.

gray
winmail.dat

Vincent Ullmann

unread,
Aug 9, 2012, 3:35:23 PM8/9/12
to soft...@listproc.autodesk.com
Sounds intressting.

Got a little Try and a very small sucess.

Use the Node-Location (wish seems to be something like the EmitPosition in EmitGeometrys-LocalSpace) and Subtrackt this from EmitLocationsPoition to get the Translation of the EmitGeo.
(Works only if emitGeo got only Translation and no Rotation or Scaling)
Unbenannt.JPG
Reply all
Reply to author
Forward
0 new messages