Animated turret system with AI and prediction coordinating attack between multiple targets.
Demo here!
Just place some turrets and add the target script to a gameobject with a collider, and the battle can begin.
You can adjust:
Fire delay
Range
Projectile speed
Angular aim speed
Use of linear prediction
Distributed AI included.
You can adjust the target priorities:
Distance
Target acceleration
Last target
Other targets aiming
Angle from current direction
Target health
Precision
[Add yours here]
Turrets slice the AI task between frames for efficiency.
Turrets fire Projectiles and damage is distributed, using an simple damage system.
Turrets use prediction for better accuracy.
Full sourcecode and examplescene included.
Contact us@kanako.dk for questions.