Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

3D trajectory formula?

  1. Mar 6, 2010 #1
    Hello, I am designing a FPS in which I am planning for the trajectory of a bullet to follow this formula here:

    http://en.wikipedia.org/wiki/Trajectory#Derivation_of_the_equation_of_motion"

    I am not adding any drag or resistance a the moment, but the problem is, that all these trajectory formulas are in 2D planes.

    I am not too familiar with physics and haven't taken any courses on it, so I was wondering if there exists a formula for a 3D plane, or if there is a way of converting the 2D equation easily

    Thanks, any help or advice is greatly appreciated
     
    Last edited by a moderator: Apr 24, 2017
  2. jcsd
  3. Mar 6, 2010 #2
    the path of a projectile is 2d x,y. now if your looking to take on the Coriolis effect for an accurate representation then it would be x,y,z.

    I'm not familiar enough with FPS to know if the gamer can handle the ability to calculate hitting a moving target with the Coriolis effect under duress. it may be a bit much for passive play but use full for trainers.

    here's wiki's page on what your looking for: http://en.wikipedia.org/wiki/External_ballistics

    hope that helps.
     
  4. Mar 6, 2010 #3
    I think this is what im looking for

    http://babek.info/libertybasicfiles/lbnews/nl130/proj3d.htm [Broken]

    Im going to try and implement this and see what happens
     
    Last edited by a moderator: May 4, 2017
  5. Mar 6, 2010 #4
    I see, but that can still be translated back to a 2d projectile path. the Cartesian coordinates are there only to locate the start and end points of the projectile while the path is still only 2d.

    In actual form the effects of numerous forces cause the projectile to take a 3d path. that was what I thought you were after.
     
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook