12.05.2012, 18:19
Hello everybody,
I want to create something like a rocket which shoots in the direction I look and explodes as soon as it colides.
The movement and explosion is no problem (Thus MoveObject returns the time the movement takes), but I have problems in determining the coordinates of the point I'm looking at.
The only way I could think of is with MapAndreas which I'm using already, but I have still can't figure out how to calculate the proper position.
I hope you understand my problem and are able to help me.
Regards
Padarom
I want to create something like a rocket which shoots in the direction I look and explodes as soon as it colides.
The movement and explosion is no problem (Thus MoveObject returns the time the movement takes), but I have problems in determining the coordinates of the point I'm looking at.
The only way I could think of is with MapAndreas which I'm using already, but I have still can't figure out how to calculate the proper position.
I hope you understand my problem and are able to help me.
Regards
Padarom