In my 3rd person 3D game, I have here an arrow model that would point to the next obstacle in the level. How it should be best implemented. Need some advise or reference. Thanks.
Re: arrow pointing to next object/obstacle
[Re: boyax]
#281533 07/27/0916:3507/27/0916:35
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
Re: arrow pointing to next object/obstacle
[Re: DJBMASTER]
#281593 07/27/0919:5007/27/0919:50