AI/Turret Targeting – Hit Moving Targets
This package provides targeting calculations for gravity-based and direct-fire projectiles. Automatically detects target velocity and calculates intercept trajectories with perfect precision.
by Theta Vox
Price History +
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.