Recent content by bnpla

  1. B

    How Can Gravity Affect Distance Traveled in a Coding Simulation?

    PS: i will use the d = vi Δt + (1/2)a(Δt)2 formula, my "made up formula" is way to ugly, and it was a desperated attempt to solve my problem. Doing Vi + 0.5 * a is way cleaner, because i will always evaluate 1 second ahead of time.
  2. B

    How Can Gravity Affect Distance Traveled in a Coding Simulation?

    Yes i know, i was in a rush, and i do agree that terminology IS important. Thanks! Finally i can sleep! Having no background in physics, this simple problem was killing my poor brain, lol. At one time i was using that same formula, and i was getting wrong results, but after i saw this posts...
  3. B

    How Can Gravity Affect Distance Traveled in a Coding Simulation?

    I'm tyring to code an engine that simply adds gravity to the world. I know that gravity is a constant value added to the velocity of an object on each second, like this: Velocity = Vi * t + 0.5 * G * T2 What I'm tyring to figure out, is the distance traveled of an object falling from any...
Back
Top