AI/Turret Targeting - Hit Moving Targets
Theta Vox
$17.99
$19.99
10%OFF
(no ratings)
Jump AssetStore
This package provides targeting calculations for gravity-based and direct-fire projectiles. Automatically detects target velocity and calculates intercept trajectories with perfect precision.Have an AI Character or turret that needs to hit moving targets? This is your script. The formulas do not use homing behavior. It uses only physics motion equations.The formulas provided operate by finding a component on the target that includes velocity such as Characer Controller, NavMesh Agent, or Rigidbody. If none of those are found, it assumes zero velocity.You can view the ReadMe online here.The math was computed entirely by myself and I used AI to refactor it quickly into c#.