vec_to_angle(my.pan, vector(sign(joy_force.x),sign(joy_force.y),0)); my.pan -= 90; // needed because you want (0,1,0) to result in pan = 0
Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy
oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de