In-depth functions

  • Please make sure you are familiar with the forum rules. You can find them here: https://forums.tripwireinteractive.com/index.php?threads/forum-rules.2334636/

Gustav Mahler

FNG / Fresh Meat
Sep 26, 2011
1
0
0
If they're "true to life", then the horizontal component is constant and the vertical component is -9.8t. Unless of course you point upwards. Then the horizontal becomes initial velocity times the cosine of the angle between barrel and horizontal and the vertical becomes initial velocity times the sine of that angle minus 9.8t.

(Vi)sin(angle) - 9.8t

That all ignores wind. How they did it in game is probably a simplification as well for efficiency.
 

Nilzey

FNG / Fresh Meat
Aug 31, 2011
45
14
0
Sweden
Yeah I highly doubt the bullet "drop" is true to life, although not as over exaggerated as BC2's peashooters.

Would be nice to calculate the exact drop when judging by the distance of the target. Guess I'll have to play a lot of marksman:eek: