obtain position of object, while assigned to a path constraint

obtain position of object, while assigned to a path constraint

Anonymous
Not applicable
423 Views
2 Replies
Message 1 of 3

obtain position of object, while assigned to a path constraint

Anonymous
Not applicable
Anyone know how to obtain the X,Y,Z position of a object, such as a box, if the box is set on path constraint?

The problem is my box is assigned to a path constraint, so that it follows the path.
When I do this, I cant see the position data of the box in the curve editor.
The path constraint works to a percentage, and has no reference to the position!

Do you know how I can obtain the position of the box when it is on a path constraint?
0 Likes
424 Views
2 Replies
Replies (2)
Message 2 of 3

Anonymous
Not applicable
Could you link a dummy to the box, so that you can get the position of the dummy?
0 Likes
Message 3 of 3

Anonymous
Not applicable
Anyone know how to obtain the X,Y,Z position of a object, such as a box, if the box is set on path constraint?

The problem is my box is assigned to a path constraint, so that it follows the path.
When I do this, I cant see the position data of the box in the curve editor.
The path constraint works to a percentage, and has no reference to the position!

Do you know how I can obtain the position of the box when it is on a path constraint?


Regardless of the controller, every node has a .transform property containing its transformation matrix. The controllers are just means to create, store and maintain that matrix. So when it doubt, just ask for 'theObject.transform.row4'

Alternatively, you can create an ExposeTM helper and pick the box as the exposed node - it will give you the correct position among other data...
0 Likes