Hey guys,
I never listened to our maths teacher back in school time, now I could kick myself in the a** :(.
I got a laserbeam and at the end a burst (in this case a dot). This laserbeam is rotating from the center to all the edges and so on.
How can I calculate the new coordinates for the end of the beam, where should be displayed an image of a typical laser burst.
My first attempt (thought) was to use some Math.sin and cos. But I really do not know how to use them properly. Wikipedia couldn’t help me neither, it’s not game dev related enough. I hope you guys are patient and could help me with this, hopefully trivial, question.
Thanks in advance.
Kronos