Space Engineers

Space Engineers

1,874 ratings
Aerodynamic Physics
6
4
8
2
13
3
5
2
6
4
2
   
Award
Favorite
Favorited
Unfavorite
Type: Mod
Mod category: Script, Other
File Size
Posted
Updated
3.072 MB
Dec 8, 2015 @ 9:05pm
Apr 13, 2023 @ 12:55pm
178 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 (32)
128
Nov 11, 2023 @ 9:22am
Deadly reentry
DraygoKorvan
5
Feb 14 @ 6:57am
Question about Power generation
Battlebird
11
May 4, 2022 @ 8:38am
Gatling Gun Crash
God Hates Weebs
3,336 Comments
Dragonspride1995 Jul 17 @ 6:13pm 
I'm not getting decent results with flaps, I expect the craft to take off at speed with no input on the pitch, it just seems that every attempt just acts as a air break
Maple ♡ Jul 16 @ 8:59am 
Is drag based off just the surface area? Or will adding more streamline slopes reduce the amount of drag generated?
Abisius Jul 13 @ 4:56pm 
@Mrazzers_Brazzers
there shouldnt be any wind in space if all is working as intended.
no atmosphere = nothing that can be used to make wind by planetary rotation

if you got wind in space its usually due to file corruption or a mod conflict.
Mrazzers_Brazzers Jul 13 @ 4:43pm 
is it possible to turn off the wind in space somehow?
DraygoKorvan  [author] Jul 4 @ 11:36pm 
Where the atmosphere is thin, working as intended. Upping the overall max speed will help a bit.
Mrazzers_Brazzers Jul 4 @ 9:55am 
How do npc fly with this mod?
Tantive Jul 3 @ 10:43pm 
It is happening in a mountainrange, real close to the surface.
DraygoKorvan  [author] Jul 3 @ 7:49am 
If you are near the surface of the planet, that shouldn't happen. If you are at a real high altitude, yes that will happen.
Tantive Jul 3 @ 7:26am 
Press forward and it does so. Theres no cruise control to limit yourself, so you're continuously adjusting speed or kill yourself in a manner of seconds.
DraygoKorvan  [author] Jul 3 @ 7:08am 
You mean you get heat problems when going max speed near the atmosphere limit via jetpack? Sounds fine to me, just don't do that.