Heya,
this question... well
Its simple:
I want an entity to turn towards a target
Code:
vec_set(temp,vecTarget.x);
vec_sub(temp,my.x);
vec_to_angle(my.pan,temp);
In order to maintain the entity vertical i will use my.tilt = 0.
But i want to control the entity´s TILT like rotating and pointing always to the target, vg. my.tilt += 10 * time_step;
But this dont work, so i ask which will be the way to do that?
Thanks.
Cheers