View Single Post
# 2 19-04-2004 , 02:20 PM
Alan's Avatar
Moderator
Join Date: Oct 2002
Location: London, UK
Posts: 2,800
done it.

You can use:

$myArr = `getAttr -t $myTime $myObject.wm[0]`;
xPos = $myArray[12];
yPos = $myArray[13];
zPos = $myArray[14];

this uses the world matrix to give you the exact world space position.

user added image
Alan


Technical Director - Framestore

Currently working on: Your Highness

IMDB