Hi...

I have a 3D arrow model in my world. I want to be able to move this using the mouse, dependant upon 'mouse_force'. OK...

I have loaded my 'x-direction' arrow and I'm using 'mouse_force.x' to move it. The problem is that if I move the camera to the other side of the arrow, and move the mouse; the arrow moves in the other direction.

I've fixed this by gettting a vector from the arrow to the camera, converting it to an angle and using the 'sign' function on the angle.pan to check which way the arrow should move. Great.

Now i'm trying to apply this to the arrow for the y direction. For now I'm just using the same model, only adding +90 to the pan so it faces in the y direction.

Now my method for checking which side of the arrow i'm on (eg, the sign of the angle pan) doesn't work. I assume I have to add the value 90 somewhere but i'm unsure whether this has to be done on the vector using 'vec_rotate' or to the angle itself.