Code:

temp.x = 100;
temp.y = 0;
temp.z = 0;
vec_rotate(temp, my.pan);
vec_add(temp, my.x);



After this, temp will be hold the coords of the offset rotated by the ent's angles...

Last edited by xXxGuitar511; 04/28/07 04:24.

xXxGuitar511
- Programmer