Ballistics Utility
Public Methods
Return Type | Name | Signature | Description |
Vector3 |
| (Vector3, float) | Calculates & returns wind vector in m/s. |
Vector3 |
| (float, float) | Calculates & returns a gravity vector. |
float |
| (Vector3, float) | Calculates & returns a kinetic energy based on velocity & mass. |
void |
| (ref Vector3, ref float, float, float) | Updates the given kinetic energy to match the new kinetic energy, updates given the velocity accordingly as well. |
Vector3 |
| (Vector3, DragGModel, float, float) | Calculates & returns a drag vector based on velocity, drag model & ballistic coefficient. |
Vector3 |
| (ref Vector3, double, float, float) | Calculates & returns a spin drift vector based on previous drift & stability factor. |
double |
| (float...) | Calculates & returns stability factor of a bullet based on bullet properties. |
double |
| (double, double,DragGModel) | Calculates & returns retardation factor based on velocity, ballistic coefficient and drag model. |
Last updated