Toolkit for Physics is a comprehensive collection of physics-based tools and systems designed to add realistic and engaging physics effects to your game. These tools work with Unity's built-in Physics behaviours and systems and provide you with easy-to-use APIs, structs and scripts enabling you to Do More!
This asset is part of a larger Collection, containing additional tools such as Buoyancy, Force Effects, Verlet integration and more!
Ballistics API:
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:
Easy-to-use component script able to accurately calculate trajectory and bounces and manage the projectile's flight across that predicted path. This feature is perfect for puzzle games featuring a shooting mechanic where you need to per-determine the bounces and be sure the path exactly follows that.
Ballistic Aim:
Looking for a simple tool to aim your projectile at that target? Ballistic aim component script can be added to single or 2-axis transforms to help you aim accurately with an easily configurable tool to suit a wide range of uses.
Line Tools:
Companion components for Ballistic Aim and Trick Shot that work with Unity's Line Renderer to draw the predicted path.