Hi!
how do i make my model turn toward the enemy model?
I tried to use this code:
----------------------------------
vec_set(enemypos, enemy.x);
vec_sub(enemypos, my.x);
vec_to_angle(my.pan, enemypos);
my.tilt = 0;
------------------------------------
but when i try to run the level after writing that code, I get an error saying that the action crashed?
how do i do?
thanks!!!
- Muhsin Kaymak
Come and play my new browsergame - Valley Of Wolves:
http://www.mafiacreator.com/ValleyOfWolvesHurry and be the first to take over the different business' in the Valley Of Wolves, before anybody else does it!
And be the most feared MafiaBoss in the World!!