com.heathen.ballistics provides projectile trajectory targeting, prediction, and trick-shot solving for arcing or physics-driven projectiles.
Key components #
BallisticTargeting/BallisticTargeting2D— solves launch velocity to hit a target point given gravity and (optionally) a desired arc height or time-of-flight.BallisticPathFollow/BallisticPathFollow2D— moves an object along a precomputed ballistic path.TrickShot/TrickShot2Dand theTrickShotConstantAcceleration/TrickShot2DConstantAccelerationvariants — solve for a shot that hits a moving target.TrickShotLine— a debug/telegraph line for a solved trick shot.BallisticAim/BallisticAim2D— continuous aim-assist style targeting.BallisticPathLineRender— renders a projectile’s predicted path viaLineRenderer, useful for telegraphing throws/shots to the player.
Implementation notes #
Depends on com.heathen.verlet for shared math utilities. All targeting solvers work against Unity’s standard gravity/physics settings unless overridden per component.