Phunlet-safe homing missile prototype
just a techdemo of it. again
old version
i'll continue its work, this time with moving targets.
old version
i'll continue its work, this time with moving targets.
Algodoo user forums
http://www.algodoo.com/forum/
angle = math.acos(e.normal(0)); e.normal(1) < 0 ? {angle = 2*math.pi - angle} : {}
anglediff = angle - targetangle;
anglediff > math.pi ? {anglediff = anglediff - 2*math.pi} : {anglediff < (-1)*math.pi ? {anglediff = anglediff + 2*math.pi} : {}}
