Publisher | Bolt-Scripts |
---|---|
File size | 161.00kB |
Number of files | 25 |
Latest version | 1 |
Latest release date | 2019-01-02 01:17:23 |
First release date | 2016-02-26 06:16:21 |
Supported Unity versions | 2018.4.2 or higher |




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
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