I am struggling to have Maya tell me where a vertex is in world space.
I've tried getAttr $object.vtx[$i].translateX
;
getAttr $object.vrtx[$i]
getAttr $object.vtx[$i].x
sorry if the syntax is off...just giving you an idea of the commands. The 2nd command reads and it gives you values but they cannot be the world values as in my function I need it for I am using a distance arguement and getting division by zero. Further still I have rotated the object (thus theoretically moving the vertecies and their values from the 2nd command, yet the values stay the same.
Is there a simple command issue or does this problem have to be solved by hard coding? If so, has anyone got a script that does it?
Cheers.