var temp[3]; // get the direction from the obstacle to the arrow... vec_set(temp,obstacle.x); vec_sub(temp,arrow.x); vec_to_angle(arrow.pan,temp); // now arrow points to obstacle
Gamestudio download | Zorro platform | shop | Data Protection Policy
oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de