need help with imagine a plane targeting a destination

Posted By: exodusX

need help with imagine a plane targeting a destination - 02/02/09 09:12

I need a imagine a plane targeting a destination like on screenshot.
Now the destination get out of view.
To help the player to find it I need a pointer towards the target. Maybe somebody have code like this ?





Posted By: EvilSOB

Re: need help with imagine a plane targeting a destination - 02/02/09 09:45

Keep searching the these forums, especially the lite-c forum.
Someone did have a posting about "map directional arrows" or some phrase like
that a while ago, I think they managed to figure something out.
Sorry I cant post a link, but I cant remember what the thread name was.
Posted By: Xarthor

Re: need help with imagine a plane targeting a destination - 02/02/09 09:47

Needle panel element for arrow display:
http://www.conitec.net/beta/needle.htm

Use vec_to_angle for calculating the directional angle to the target:
http://www.conitec.net/beta/avec_to_angle.htm
Posted By: exodusX

Re: need help with imagine a plane targeting a destination - 02/03/09 18:07

Thanks.
© 2024 lite-C Forums