Well I want to determine the position in front of, lets say 'an object'.
'An objects' has a position (pX,pY,pZ) and a quaternion rotation (qX,qY,qZ,qW) (where qW seems always to be
0 - because this is from a game I want to modify, I never saw it become
Now I would like to determine the position at
n units in front of the position of the object according to the quaternion rotation. How would I do that?
I know the quaternion combinations produce (when starting to transform from
(1,0,0,0) if that matters):
(1,0,0,0) left side facing north
(-1,0,0,0) right side facing north
(0,-1,0,0) back facing north
(0,1,0,0) front facing north
(0,0,1,0) front facing the sky
(0,0,-1,0) front facing the ground