I've had a gander at older threads but I can't seem to find much on the subject.
Example ..
I have a mesh which has a pivot parented to it at 0,-1,0 local coordinates. When the mesh is rotated I want to get the x,y & z coordinates of this point relative to the local 0,0,0 point of the mesh. At the moment I just subtract the global coords of the mesh and pivot and this gives me what I need. The results being sort of x,y,z components of a normalised vector.
If this makes sense, the question is .. can I use the TFORM vector / normal / point commands to achieve the same result? If so, can someone show me how to do this?
Cheers
Example ..
I have a mesh which has a pivot parented to it at 0,-1,0 local coordinates. When the mesh is rotated I want to get the x,y & z coordinates of this point relative to the local 0,0,0 point of the mesh. At the moment I just subtract the global coords of the mesh and pivot and this gives me what I need. The results being sort of x,y,z components of a normalised vector.
If this makes sense, the question is .. can I use the TFORM vector / normal / point commands to achieve the same result? If so, can someone show me how to do this?
Cheers