How do you go about programming realistic air physics

im trying to make realistic air physics for planes but im kind of confused on how to convert the raw formula into a usable velocity. I got some formulas formatted but thats it.

Background

so i found this for drag and converted it into script

image
(im not even sure if i converted it right as i dont really know what im looking at)

then i also found


so i added to my script
image

-- Here is the code in a block
local p 
local v
local CD
local A
local L 



local FD = 1/2*p*(v^2)*CD*A

local CI = (2*L) / (p*(v^2)*A)

So I dont really know what im looking at and im wondering if there is anyone out there that understands this more than me that can help. Also how would i calculate thrust because thats a whole can of worms too

1 Like

tbh i dont think you just simply rewrite the whole equation onto the code and expect it to work lol

you could use body forces to replicate drag,resistance and all kinds of i think

You can’t program basing on real life formulas, because these require real life factors
You can’t calculate air flow neither, so it’s impossible, you can make an “aproximation” just like flightline did

1 Like

i dont think its impossible in roblox though im pretty sure some day someone would make that

It’s impossible as of now. yes.

1 Like

i found a plane model which kind of got close to air physics probably i thinks this is the most closest we can get to making plane physics