Well the title basically says what I want to achieve, ive been searching and trying for 2 days and I cannot find anything that works.
This is complicated, but the short answer is to simulate the lift and drag forces for a plane.
Thats my problem, I dont know how.
You will need to have a VectorForce for the drag force. This can be calculated by using the drag equation.
For lift force, you will also need a VectorForce. This is can be calculated with a similar equation.
Both equation require a coefficient (see drag coefficient and lift coefficient). This basically tells the force how to react for different angles of attack relative to the incoming air. For example, a wing has less drag when it cuts through the incoming air, while it has more drag when the air comes from underneath. These coefficients vary per airplane.
I would highly recommend to watch the video that @markthemat3 mentioned for anyone who wants to give this approach a try.
I kind of understand now, the biggest problem here is that I cant read equations…
You can also choose the simple approach and disect an airplane from the toolbox. This method is less fancy, but will give you techniques to build arcade airplanes.
Aerodynamics is actually coming in a future update
I dont use free models…
I already tried using Airfoil by sleitnick but it did not work, so ill try it myself.
I knew that already, I have no time to wait for that.
What I ment was, you can pick an airplane model that you like and read the scripts to see how it works. Then you can apply those techniques you learned onto your own airplane.
I watched that, but I have literally no idea how to convert cs to luau
It comes down to the maths that I mentioned earlier. If you can simulate the lift and drag forces of an airplane, then you have the physics for an airplane. That is what the video demonstrates too.
Oh… maybe you should learn more about c# and Lua before you attempt such a massive project like this
Ive been scripting on roblox for 4 years…