Easy Asset Search

Projectile Toolkit 3 - Targeting and Trajectory Prediction

A comprehensive physics toolkit for solving projectile motion problems, including targeting algorithms, trajectory prediction, and aerodynamic movement simulation.
Projectile Toolkit 3 - Targeting and Trajectory Prediction Asset Image A comprehensive physics toolkit for solving projectile motion problems, including targeting algorithms, trajectory prediction, and aerodynamic movement simulation.

* This page contains affiliate links, meaning we may earn a small commission if you purchase something through them, at no extra cost.
$45
Category:
ToolsPhysics
Developer:
Blobcreate
Price:
$45
Rating:
(18 reviews)
Favorites:
535
Supported Unity Versions:
2022.3.4 or higher
Current Version:
3.0
Download Size:
614.97 KB
Last Update:
Nov 17, 2024
Description:
The Projectile Toolkit is a powerful solution for game developers and animators looking to implement projectile motion in their projects. It addresses three key problems: targeting algorithms for gravity-affected rigidbodies, trajectory prediction algorithms, and simulation of aerodynamic movement.

Key features include:

* Flexible and easy-to-use API with static methods for direct script calls
* Super fast algorithms that don't use trigonometric functions
* Works in both 3D and 2D environments
* Compatible with all build platforms
* Includes inspirational demos and reusable code for learning and prototyping
* Full source code and detailed documentation available

The toolkit also includes bonuses such as an explosion system and a simple top-down character controller.

Technical details:

* Aerodynamic movement simulation for sports like football, baseball, and golf
* Offset trajectory along local X and Z axes
* Trajectory prediction via PEB Trajectory Predictor
* Customizable callback for projectile hits
* Targeting algorithms for computing launch velocity, angle, and max range
* Trajectory prediction for position, whole trajectory points, and flight time
* Trajectory Predictor component for easy rendering
* PEB Trajectory Predictor for accurate and performance-friendly predictions

Upcoming features include custom gravity direction and a propulsion library.
Technical Details:
Aerodynamic Movement:
* Offset trajectory along both local X and local Z axis
* Trajectory prediction (via PEB Trajectory Predictor)
* Customizable callback when the projectile hit the target

Targeting algorithms:
* Compute the launch Velocity by: angle, height, time, a (coefficient of the quadratic function), speed
* Compute the launch angle by: speed
* Compute the max range by: elevation and speed

Trajectory prediction:
* Predict the position of the projectile at a given time
* Predict the whole trajectory points
* Test if a given velocity can let a projectile to hit a given target
* Predict the flight time
* Trajectory Predictor, an easy to use component to predict and render the trajectory
* PEB Trajectory Predictor, a brand new predictor based on the physics engine, accurate and performance friendly, supports bounces, drag, physics materials, etc., supports dynamic obstacles
* Fully customizable line style
* Two template styles provided: dash, slash

Upcoming:
* Custom gravity direction
* Propulsion library
Continue »

Similar Packages