Is there a way to find out the rotation of an object in blender GE using python and then use it to set the rotation of another object? I’m actually trying to do two things. One make a space ship game were a person could go aboard different capitol class ships that are rotated every which way and always have their “down” to be oriented with the ship. this would allow multi directional “gravity” possible. My other problem is making a Halo like gun system by putting a node where the person would hold the gun. Then have the gun (when active) go to the position and rotation of the node object. I already know how to get and set objects positions in python but I can’t seem to find a way to get or set objects rotation. It must be possible right? Well anyway thanks for the help.
yea you have to use the getOrientation() command. it returns it as a 3 by 3 matrix though. so it is kinda confusing
Ok so how would I get the objects rotation from that?
OH…
I just tried it, it was so simple, I thought I would have to go and decode it all or something.
well thanks a lot!