Jump to content
Sign in to follow this  
-Gews-

airFriction

Recommended Posts

The BI Wiki says "airFriction = acceleration / speed of the bullet^2", you could represent that as:

f = a / v^2

How do I solve for acceleration and calculate the final velocity of a projectile? Is the acceleration constantly changing?

For example, the M24 has an initial velocity of 900 m/s and an "airFriction" value of -0.0009324.

How fast would it be going at 300m?

(the answer is 679 m/s, but I would like to know how to get there with a calculator).

Share this post


Link to post
Share on other sites

I believe I've solved my own question, didn't take too long when I put my mind to it... then again, I could be wrong.

I fired an M24 in Murcielago's Shooting Range mission. Initial velocity was 900 m/s. Velocity at 100 meters was 819 m/s.

I fired an M24 in Murcielago's Shooting Range mission. Initial velocity was 900 m/s. Velocity at 100 meters was 819 m/s.

I assume it's too similar and makes too much sense to be a coincidence. I'm too lazy to more calculations or make a program for it and it would take forever to run it out to several hundred meters by hand (technically by scientific calculator), but it appears I may have solved my own problem...

What remains to be seen (if I'm correct) is at which intervals Bohemia's calculations run. Do they recalculate the acceleration every 10 meters? Every 1 meter? Every frame?

Edit: working this out in Excel, it's spot on out to 500 meters so far (512 m/s in-game, 511.67 in Excel).

Edited by Goose

Share this post


Link to post
Share on other sites

sry for digging up an old post, but would you share that formula you used in excel?

my math's unfortunatly too bad to handle airfriction, so if i just had to fill out some cells to get an arty table it would be nice.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×