Profile image

how could AI control the aiming of turret?

10.9k VChart  3.9 years ago

I have just made a model here:
how could AI control the aiming of turret?
I made this model not to be operated by me! so it is ugly.
I select WASP and start in the Yeager final approach position and spawn this AntiAir turret model on the Yeager airport start position, and then, R the radar locking it to let it lock me, I will be shot down if I maintain in its radar envelop.
if I fly left or right out of its radar envelope after it locks me before it fires a missile, I will escape it, so, I add two rotators to make it a turret, If I select this model to play, I can operate it to aim at a target with VTOL controlling the direction and trim controlling the pitch and then shoot a target down, but, if I select to fly a fighter to make it defend against me, it will not aim me, I noticed, the AI of SimplePlanes can not rotate the turret with VTOL and pitch the barrel with trim, I could easily fly out of it radar and attack it from other directions, so, this is my question, how to make an anti-air missile turret that capable of rotating and aiming at me with the SimplePlanes AI?