I have been working on a slide system for planes for my map to give them more realistic movement that somewhat resembles that of games like empire earth and rise of nations.
The planes are moved towards their facing every 0.03 seconds with the SetUnitX and SetUnitY actions.
When the planes get orders from their player, they work perfectly fine with no issue whatsoever.
However, when ordered towards a target unit/point by a trigger, something really weird happens.
The planes just won't turn towards their target and will continue moving to the same direction until they hit the edge of the map.
I will also add that their turning is not made in triggers, it's the natural unit turning, and it otherwise works perfectly fine.
Is there anything that i might be missing?
The planes are moved towards their facing every 0.03 seconds with the SetUnitX and SetUnitY actions.
When the planes get orders from their player, they work perfectly fine with no issue whatsoever.
However, when ordered towards a target unit/point by a trigger, something really weird happens.
The planes just won't turn towards their target and will continue moving to the same direction until they hit the edge of the map.
I will also add that their turning is not made in triggers, it's the natural unit turning, and it otherwise works perfectly fine.
Is there anything that i might be missing?