# Der

less info
reputation
4
bio website location Melbourne, Australia age member for 7 months seen May 4 at 14:09 profile views 2

# 10 Actions

 Dec21 awarded Critic Oct23 comment Arbitrary Rotation about a SpherePrecisely what I want to achieve. I just couldn't think of the correct way to get a position out of the orientation quaternion. Using what you have provided, I can write the `Move()` procedure, but to get the normalized axis (i.e. my position), would I just take `(sin(qx),sin(qy),sin(qw)) * r`? Oct23 awarded Scholar Oct23 accepted Arbitrary Rotation about a Sphere Oct23 awarded Supporter Oct17 comment Arbitrary Rotation about a SphereTo answer your second question, I haven't exactly decided yet, but for the purposes of this question lets say no. Oct17 comment Arbitrary Rotation about a SphereMaybe a better example of what I'm going for: Player at `(1,1,1)` holding left would rotate around the sphere, passing through `(~1.2,0,~-1.2)`, then `(-1,-1,-1)`, then `(~-1.2,0,~1.2)` and back to `(1,1,1)`. Oct17 comment Arbitrary Rotation about a SpherePerhaps it was poorly worded. The player should not leave the surface of the sphere, and should not be aware of the cardinal axis. So when you move "up", you move along the surface of the sphere in a upwards direction relative to the orientation of the player. e.g. If you are at (r,0,0) and press up, you will go towards the z+ pole, but if you keep going you should wrap around and keep going. Oct17 awarded Student Oct17 asked Arbitrary Rotation about a Sphere