Space Engineers

Space Engineers

2,018 ratings
Aerodynamic Physics
6
5
3
8
4
14
5
2
6
5
2
   
Award
Favorite
Favorited
Unfavorite
Type: Mod
Mod category: Script, Other
File Size
Posted
Updated
3.072 MB
8 Dec, 2015 @ 9:05pm
22 Oct, 2024 @ 11:24pm
180 Change Notes ( view )

Subscribe to download
Aerodynamic Physics

In 1 collection by DraygoKorvan
Space Engineers Physics
11 items
Description
Adds lift profiles to all grids in the game.
Adds deadly reentry to the game.
Adds wind to the game.

Physics simulation includes, drag forces, deflection forces, lift, differential lift, ground effect.

Ground effect will calculate based on altitude from voxels or water.
Mod compatible with digi's wings blocks (this mod may override the physics of his mod).
FAQ
Q: Drag does not feel like it is taking effect, I cant seem to get reentry to work?
A: Usually this is because you are running an unlimited speed mod or using relative top speed. In either of these cases if you want reentry to happen at lower speeds please change the Simulation Max Speed to a lower value. The Debug GUI will tell you what the simulated mach 5 is (m5), and simulated reentry ablation speeds (ab). ab is the speed that aggressive reentry heat happens.

Settings Menu
You can access a graphical admin menu with Alt + F10 (Or Shift + Alt + F10)
Player preferences menu is accessed by opening chat and pressing F2, these settings are global and apply to any online or private save.
Preferences Menu
Open Chat and press F2, then click Mod Settings
  • Particle Effects: Turns on and off particle effects
  • Lighting Effect: Turns on and off lighting effects
  • Center of Drag Gizmo: Auto - only shows you the CoM and CoD markers on craft you are actively building, Always On, shows for every craft, Always off, shows for no craft
  • Lift Gizmo: Shows the green marker to indicate an angled surface that interacts with the lift profile
  • Gui Options
    • Debug
      • Show Debug Text, shows some debug text, useful to attach to bug reports
      • Debug GUI Position, you can move the debug text using this option
      • Lift 1: Debug lift profile 1st direction
      • Lift 2: Debug lift profile 2nd direction
      • Lift 3: Debug lift profile 3rd direction
      • Lift 4: Debug lift profile 4th direction
      • Lift 5: Debug lift profile 5th direction
      • Lift 6: Debug lift profile 6th direction
    • Heat Alarm: Turns on or off the heat alarm and lets you move the GUI element
    • Heat Indicator: Turns on or off the heat indicator GUI and lets you move the element
    • Wind Indicator: Turns on or off the wind indicator GUI and lets you move the element
    • Show Hints: Turns hints GUI on/off
    • Reset GUI: Resets all gui options to default
  • Color Options
    • Center of Mass: Color of Center of Mass marker
    • Center of Drag: Color of Center of Drag marker
    • Block Lift Indicator: Color of lift indicator on the block you're building
    • Lift Test Direction: Line that shows which travel direction the grid is being tested on
    • Lift Result Direction: Result of the lift test
    • Block Drag Indicator: Same as lift indicator but only indicated if the block only effects drag

Admin Menu
(Alt+F10 menu or Shift+Alt+F10 on some computers - Top Left Corner)
  • Physics
    • Advanced
      • Drag Multiplier: Percent, multiplies drag by this percentage, Default 100
      • Deflection Multiplier: Percent, multiplies the deflection force on an aircraft.
      • Rotational Drag Multiplier: Only takes effect if Advanced Lift simulation is off, changes how easy it is to turn at speed
      • Atmospheric Minimum: Percent, How much atmosphere is in space. For those that want to apply drag physics to space (ie starwars sim)
      • Ignore Static: Skip static grids.
    • Advanced Lift: Enables advanced lift simulation (Center of Mass vs Center of Aerodynamics)
    • Disable Reentry: For maps where you do not plan to go to space adjusts the simulated mach 5 speed to match the max speed of the world
    • Small Ship Max Speed: Maximum speed for small ships, Default 150
    • Large Ship Max Speed: Maximum speed for large ships, Default 150
    • Simulation Max Speed: Max speed to use to calculate simulated mach 5 and simulated ablation speed. If you are running speed of light settings you can use this to bring reentry speed lower.
    • Enable Character Drag: Apply drag to characters
    • Simulate Wind: Apply wind forces
    • Enable Occlusion: Enable reducing drag based on how much the craft is occluded (inside something)
  • Heat Settings
    • Heat Damage: Turns on and off heat damage
    • Heat Radiation Multiplier: Adjusts how fast heat is removed from craft, default 100
  • Compatibility
    • Digi Physics: Enable or disable physics calculation on Digi's aerodynamic wings mod.
  • Reset Settings: Resets all settings to default


Mod Features
Mod will automatically adjust drag to be more realistic with higher maximum speeds. This is to allow drag to feel natural in worlds with 150m/s top speeds, and worlds without a top speed.

Mod takes in account your ship's design. If you have a sleek jet like design, flying forward will result in less drag, if you pitch up exposing the surface area of your wings to the direction of travel you will increase the drag and slow down faster.

Heat is calculated by adding or removing energy from the surfaces of your ship. It will dissipate on its own. Ideally you wont overheat from regular planetary travel, unless you strap a ton of thrusters on.

Ship drag and lift is pre-calculated in a separate thread to prevent lagging the main game thread.

Nerdy details
Math behind it:

D = (Cd * r * V^2 * A ) / 2

D = Drag Force (this is a force, it is applied to the craft with the opposite vector as the crafts direction of travel, mass impacts the delta v applied to the craft)
Cd= (coefficient of drag, varies based on max speed and drag multiplier setting)
r = density of the air at your particular elevation this is the games air density multiplied by the actual air density of well, air.
V^2 = velocity squared
A = Surface area of your ship facing the direction of travel. (Yes, very close to the actual surface area!)


Mod Support

The following file will let your retrieve certain settings from this mod, such as the digi setting and advlift.
https://github.com/DraygoKorvan/ModAPI/blob/master/RemoteDragSettings.cs

Aerodynamic block properties can be modified using Mod Definition Extensions, details on discord.

MES compatability
Older NPC packs may not have the aerodynamic compatibility flag set. You can allow them to spawn by using the override command: /MES.Settings.Grids.AerodynamicsModAdvLiftOverride.true

Discord
Discord[discord.gg]
Popular Discussions View All (35)
128
11 Nov, 2023 @ 9:22am
Deadly reentry
DraygoKorvan
5
14 Feb, 2024 @ 6:57am
Question about Power generation
Battlebird
7
6 May @ 6:43am
Settings on a Dedicated Server
[STK] bigsteve
3,521 Comments
Rage Embodied 28 Jul @ 3:28pm 
Still one of my favorite mods. Absolutely lovely, works perfectly in all my hours. Made an Antonov AN-225 to scale and it works, can even transport tanks! Also made an Mi-24 to scale and it works, and a MiG-25, Su-27, B-52, Il-76, Su-39 and they all work just marvelously :)) Thank you for the mod and the hours and hours of fun!
congratulation @MrMayhem you found out how you can build a ship that uses aerodynamics to lift its bow.
now you only need to find out how to build one that uses aerodynamics to lift its stern, to roll starboard and to roll port before combining them to have a stable flight.

and yep you grids form has a big impact on how the grid flies with aerodynamics in your world.
DraygoKorvan  [author] 27 Jul @ 6:08pm 
Build your ship better or you can disable the advanced simulation in options (under physics)
MrMayhem 27 Jul @ 3:09pm 
Is there anyway to disable the part where the it forces the nose of the plane up well flying? I have tried in the appdata folder but still cant seem to straiten that out part out.
MarciXeN 25 Jul @ 1:56am 
I've seen online that this mod might affect how wind turbines work. Does it actually and if so then how exactly? I'm completely stuck on a new world with IO and the smelter needing 2mW of power and my turbines refusing to produce more than 100kW each with strong winds (over 1m/s)
@Paradoxon360
does it happen with just aerodynmaics and requirements in a fresh world too?
if not its probably something that happens in a specific modcombination.
Paradoxon360 14 Jul @ 4:58am 
the game crashes if the heat of an rentry is destroying blocks game frezzes crash no the deadly rentry isnt working for me ...

is there spezial limits configs maybe its becouse of to mitch sparks i dont know
Harold 23 Jun @ 9:36pm 
The deadly reentry is awesome. Just blew up my ship in a splash of sparks. 10/10
Abisius Xarvenius Carbensius 18 Jun @ 10:35pm 
@Малигос
the blueprint scren shouldnt even open if you open the admin menu and it doesnt open on my end, so if that happens i would say its something irregular that happens there.
AK-74m 18 Jun @ 6:57pm 
nvm just alt+f10 oops