Helpful C# library to deal with 3D ballistic math calculations. Great for any project involving ballistic projectiles and trajectories.
Documentation available here
Library includes helper functions for problems like:
- What direction should I shoot my cannonball with a fixed speed in order to hit a target position? Or is my speed not enough to hit the target at all?
- How much time do I have to evacuate before the artillery shells hit the ground?
- How can I preview the trajectory for my grenade throw?
- What speed and direction should I shoot my catapult to hit a target in exactly 10 seconds?
- If my character has a maximum grenade throwing range, what is the maximum speed I can throw the grenade at?
Includes a demo scene with a simple grenade throwing mechanic.