Toolkit for Unity Physics: Ballistics

Updated
2024-07-08
Premium
Tools
Version
3.2.0
File size
133 KB
Views
186
Only For Premium or VIP Users
Description

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.

 

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!

 

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.

 

Technical details

Looking for a comprehensive solution to handle ballistics calculations in your game development project? Look no further than PhysKit: Ballistics! Our robust toolset includes a versatile API that lets you easily calculate physically correct, as well as stylized ballistic trajectories, and render flight paths and their collisions in 2D or 3D space.

 

Trick Shot & Path Line

An easy-to-use component you can attach to a game object to accurately predict projectile trajectories including bounces ensuring they travel the predicted path exactly. Trick Shot is a great choice for "Peggle" like puzzle games with shooting mechanics.

The Path Line tool extends Trick Shot to let you draw the predicted path with a standard Unity Line Renderer. Trick Shot coupled with Path Line gives you a code-free way to aim, predict the path and bounces, draw the resulting trajectory path and even fire the projectile.

 

Aim & Targeting

Attach these easy-to-use components for a code-free solution to accurately aim turrets adjusting for target movement speed as required. Available for 2D and 3D and able to handle turrets with two separate pivot points (Y and X axis rotation) with configurable angle limits.

 

Ballistics API

Our designer and programmer-friendly APIs include tools for realistic or stylized ballistic solutions. The API has a wide selection of 1-line Solution Methods you can easily use in your scripts suitable for 2D or 3D physics.

  • Simple; find the rotation your projectile to start at to hit your target moving or static.
  • Variable; find the velocity & gravity required to achieve the visual arc you requested.
  • Fixed Time; find the launch velocity to achieve a specific time on target.
  • Fixed Angle; find the launch speed required to reach that target.
  • Raycast; ray cast (and sphere/circle cast) that tests the full ballistic trajectory.
  • Constant Force; additional constant force useful for simulation of Magnus, Coriolis and similar effects.

 

Comments
Comments is not yet
Add Comment
Please register
You may also like