Search found 100 matches

by WKFO
Wed Feb 20, 2019 7:04 pm
Forum: Pioneer development
Topic: Atmospheric flight
Replies: 21
Views: 539

Re: Atmospheric flight

I did something, but it crashes at runtime and I'm stuck until I can figure out what is wrong with my repository.

Anyway, I'm not sure about so many lift and stall variables, but the atmo-stability will surely help me a lot. I will have a better look at the rest, later.
by WKFO
Wed Feb 20, 2019 9:22 am
Forum: Pioneer development
Topic: Atmospheric flight
Replies: 21
Views: 539

Re: Atmospheric flight

Hi WKFO, I have actually been working on an atmospheric flight model, without realizing that someone else was doing the same. Maybe we can combine our efforts. My flight model currently has 10 parameters per ship. It simulates lift-induced drag and parasitic drag, aerodynamic stall above a certain ...
by WKFO
Sun Feb 17, 2019 6:08 pm
Forum: Pioneer development
Topic: Atmospheric flight
Replies: 21
Views: 539

Re: Atmospheric flight

by WKFO
Sun Feb 17, 2019 5:19 pm
Forum: Pioneer development
Topic: Atmospheric flight
Replies: 21
Views: 539

Re: Atmospheric flight

Dammit, i think i need to get 'the ship' instead of 'a ship' in the code. (get the 'ship' associated with the dynamic body)
by WKFO
Sun Feb 17, 2019 4:45 pm
Forum: Pioneer development
Topic: Atmospheric flight
Replies: 21
Views: 539

Re: Atmospheric flight

I stopped trying the global variables and started using the GetShipType() thingy, like ecraven suggested. Here are new files. should only affect player ship in this state. https://www.dropbox.com/s/t17h5w0h23hya7c/Flight-2.zip?dl=0 Now, if everyone is happy, I just need to debug it because although ...
by WKFO
Sat Feb 16, 2019 6:32 pm
Forum: Pioneer development
Topic: Atmospheric flight
Replies: 21
Views: 539

Re: Atmospheric flight

Sorry for being illiterate, but I'm stuck. I'm very bad at coding. https://imgur.com/a/1THkzAS The linker isn't happy with using external variables. Perhaps they are inaccessible? Anyway, the point is, even with the kind guidance of impaktor, I couldn't figure it out. Still. Can someone show me how ...
by WKFO
Fri Feb 15, 2019 8:01 pm
Forum: Pioneer development
Topic: Atmospheric flight
Replies: 21
Views: 539

Re: Atmospheric flight

What I was looking for was in ShipType.cpp, at line 51; but i still couldn't figure out how to implement it to DynamicBody.cpp
by WKFO
Mon Feb 11, 2019 4:55 pm
Forum: Pioneer development
Topic: Atmospheric flight
Replies: 21
Views: 539

Re: Atmospheric flight

OK, I made a very simple flight dynamics thing but I don't know how to get data from ships' JSON files, so I just used a lot of global constants instead for testing purposes. Ships have lift and some passive aerodynamic flight control now. (The code doesn't check if ships have wings or not, it affec...
by WKFO
Mon Feb 11, 2019 3:39 am
Forum: Pioneer development
Topic: Atmospheric flight
Replies: 21
Views: 539

Re: Atmospheric flight

I thought so, but so far I was busy with just making it work. Never got the chance to test with a gas giant. We will either have to keep the lift low so they won't fly as efficiently as a 737, or pilots will have to do S-turns, like the space shuttle. Or both. https://aviation.stackexchange.com/ques...
by WKFO
Sun Feb 10, 2019 1:47 pm
Forum: Pioneer development
Topic: Atmospheric flight
Replies: 21
Views: 539

Re: Atmospheric flight

I managed to make a simple lift demonstration, I can share soon. It doesn't have ship-specific lift, it applies the same lift for every craft, because otherwise I have to find a suitable lift value for every ship.