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
-- 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
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