Space Rats
Align
Remain Calm Join Date: 2002-11-02 Member: 5216Forum Moderators, Constellation
<div class="IPBDescription">Homing missiles</div>So I'm part of a group making a shoot-em-up videogame, and currently I'm working on homing missiles, and can't quite figure out the math.
I've got the angle between the missile and the target, but how do I apply this to the X and Y velocities to make it head along that angle?
EDIT: Thanks to Fam, problem solved with embarassing ease.
I've got the angle between the missile and the target, but how do I apply this to the X and Y velocities to make it head along that angle?
EDIT: Thanks to Fam, problem solved with embarassing ease.