Seems logic but I don't get why you set you.x if you need to calculate the origin of my ??

Btw, didn't you mean :

Code:
  
vec_rotate(offset, my.pan);



Thanks in progress

Frazzle


Antec® Case
Intel® X58 Chipset
Intel® i7 975 Quad Core
8 GB RAM DDR3
SSD OCZ®-VERTEX2 3.5 x4 ; HD 600 GB
NVIDIA® GeForce GTX 295 Memory 1795GB