I'm trying to make a script which will set up some stretchy arm stuff, by scaling the joints. The usual stuff.
But the joints are created by the user, and I need to know which axis to scale in. That is, which axis points down the length of the joint, or what I assume would be the "primary axis".
I looked through the manual, but I couldn't find anything to query.
Anybody knows how to do that? I bet it is simple and right in front of my nose, as usual :D