Yoshiboy
Count
Hi,
Has anyone found a way to rotate a position around the global axis?
I have a set of angles to the global axis and I want to rotate a position such that it matches this. But obviously I can't do it this way without global rotations because a local rotation messes up any following rotations.
I can think of one solution, but it is nasty and involves incrementing a rotation a degree at a time to get it to line up. There must be something simpler.
If it really comes down to it I am tempted to try and add in some vector and matrix maths operations using slots and stuff -- but lets not go there for now.
Alternately can someone think of a way of storing the orientation of a scene prop instance in the module system so that it can then be rotated to that position later on.
Thanks,
Yoshiboy
Has anyone found a way to rotate a position around the global axis?
I have a set of angles to the global axis and I want to rotate a position such that it matches this. But obviously I can't do it this way without global rotations because a local rotation messes up any following rotations.
I can think of one solution, but it is nasty and involves incrementing a rotation a degree at a time to get it to line up. There must be something simpler.
If it really comes down to it I am tempted to try and add in some vector and matrix maths operations using slots and stuff -- but lets not go there for now.
Alternately can someone think of a way of storing the orientation of a scene prop instance in the module system so that it can then be rotated to that position later on.
Thanks,
Yoshiboy