AndyCLon opened this issue on Jul 11, 2007 ยท 8 posts
nruddock posted Wed, 25 July 2007 at 2:13 PM
Quote - I've produced the following script but I'm not sure why it's not working as expected. My variables f2x and f2z always appear to be reporting as zero. Am I missing something? Is there an alternative way of getting the x and z co-ordinates?
The translation parameters are relative to the joint origin.
I fairly certain that you need to be using actor.WorldDisplacement()
The problem then is how to calculate the correct values to apply to the translation parameters for any given actor, which I think you can do by using the inverse of actor.WorldMatrix()