- Joined
- Sep 22, 2012
- Messages
- 90
so peepz i've been trying to imitate a missile system in which is turn rates are affected. Just like a homing missile but it somehow turns according to where the target is:
for instance on every periodic time (0.03 seconds)
if the unit is on the left side of the missile:
then add angle
if on right side
then reduce angle
the turning_point_domain changes periodically, units on left represented by yellow, green on right domain.
I just wanted to know if the cross product is the only way to achieve this? or is there any other way?
<@maker>
I tried making that like your trigger but it somehow turns away if my missile is fired horizontally
for instance on every periodic time (0.03 seconds)
if the unit is on the left side of the missile:
then add angle
if on right side
then reduce angle
the turning_point_domain changes periodically, units on left represented by yellow, green on right domain.
I just wanted to know if the cross product is the only way to achieve this? or is there any other way?
<@maker>
I tried making that like your trigger but it somehow turns away if my missile is fired horizontally
Attachments
Last edited: