The ultimate solution for game developers to handle ballistics calculations in 2D/3D physics. Includes ballistics API, trajectory tools, and path tracing with collision detection.
Ballistics API: PhysKit:
Ballistics offers an easy-to-use Ballistics API that enables developers to perform 2D or 3D calculations, determine flight time, perform ray casting for collision detection, and more. The API goes beyond simple parabolic trajectory calculations and allows developers to dictate arc height and flight speed. The API returns initial velocity and gravity to meet the desired flight path as a physically simulated object, enabling developers to meet the demands of design teams, whether or not those demands conform to traditional physics.
Trick Shot component:
The Trick Shot component is an easy-to-use feature that can be added to a GameObject for predicting the path of a projectile, launching it, and managing it along its path with standard collision detection. With this component, developers can ensure that the path is followed while also handling moving objects. This feature is perfect for puzzle games featuring a shooting mechanic.
Path Line tool:
The Path Line tool extends the Trick Shot component to draw the predicted path with a standard Unity Line Renderer suitable for both 3D and 2D paths. This tool allows developers to visualize the predicted trajectory of the projectile, making it easier to fine-tune the path. The Path Line tool is an ideal tool for both novice and experienced developers, who can benefit from its ability to create custom trajectories quickly and easily.
Ballistic Aim