Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

Script library & demo for planning ballistic projectiles with air resitance [FREE]

Discussion in 'Assets and Asset Store' started by GdeCarpentier, Mar 27, 2015.

  1. GdeCarpentier

    GdeCarpentier

    Joined:
    Jun 18, 2013
    Posts:
    5
    Hi, I recently wrote and open-sourced a Unity3D library & demo that shows how to plan and follow ballistic trajectories targeting a (moving) target under the influence of air resistance and (constant) wind. Trajectory plans can be calculated for a number of different desirable trajectory constraints like: given the initial speed, given the flight time, minimizing speed/energy, or (experimentally) even shooting over other obstacles in the scene. To do so, it doesn't simulate the trajectory directly using Unity's physics simulation but rather closely approximates it analytically using the formulas presented in my paper "Analytical Ballistic Trajectories with Approximately Linear Drag". The code may be used freely for commercial and non-commercial projects.



    A web player version of the demo can be found here.
    See http://www.decarpentier.nl/ballistic-trajectories for more info.

    Enjoy and let me know what you think!

    Giliam de Carpentier
     
    Last edited: Mar 27, 2015
    Gooren, Stikkychaos, John-G and 5 others like this.
  2. elias_t

    elias_t

    Joined:
    Sep 17, 2010
    Posts:
    1,306
    Excelent!
     
  3. b4c5p4c3

    b4c5p4c3

    Joined:
    Jan 4, 2013
    Posts:
    537
    Thanks
     
  4. cg_destro

    cg_destro

    Joined:
    Aug 13, 2013
    Posts:
    142
  5. 1Riptide

    1Riptide

    Joined:
    Jan 10, 2016
    Posts:
    2
    Thank you Giliam. This is great work and is very much appreciated!
     
unityunity