An easy to use script to accurately predict the trajectory of any rigidbody, or supply your own custom values for prediction.
For more detail this asset from the Unity Asset Store: Click Here
This is a paid asset, but now you can download the “Trajectory Predictor” for FREE. Please keep in mind that this package is provided only for learning purposes or to test before buying the product, NOT FOR COMMERCIAL PURPOSES.
Trajectory Predictor v1.3
“If possible, please buy the package to support the developer”
Description
An easy to use script to accurately predict the trajectory of any rigidbody, or supply your own custom values for prediction.
Features:
~Supports both 2D and 3D predictions
~Accounts for rigidbody linear drag
~An event you can hook into to implement custom velocity/gravity for things like orbital physics
~Supports and includes custom line textures for different render modes such as dotted and dashed
~Layer mask and sort order variables to control collision layers and render order of the line
~Can return the array of points in the trajectory line and a RaycastHit with the information of where the trajectory collides with something
~Can be used as a component or you can just call one of the class’ static methods to return the information you need
~Plenty of options and variables to customize, complete with tool-tips
~source code available for modification if necessary and 3 example scenes are provided to show different ways this can be implemented
Report this asset