kotchin
02-19-2011, 10:15 AM
Hi there,
Could anyone suggest a way to find the distance between two objects, but using the first objects coordinate system. Hopefully the diagram below will help to explain what I mean a little better.
In this diagram, because the translateY attribute of the selected joint is 0, the Y position of the yellow ringed joint will be negative, relative to the selected joint, and the pink ringed joint will be positive.
http://www.tom-hunt.co.uk/otherStuff/coordsys_illus.jpg
I'm still trawling through the manual and googling to find a solution so if I find one I'll post it here.
Thanks
Tom
Could anyone suggest a way to find the distance between two objects, but using the first objects coordinate system. Hopefully the diagram below will help to explain what I mean a little better.
In this diagram, because the translateY attribute of the selected joint is 0, the Y position of the yellow ringed joint will be negative, relative to the selected joint, and the pink ringed joint will be positive.
http://www.tom-hunt.co.uk/otherStuff/coordsys_illus.jpg
I'm still trawling through the manual and googling to find a solution so if I find one I'll post it here.
Thanks
Tom
