Space Engineers

Space Engineers

2,014 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,514 Comments
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.
Малигос 18 Jun @ 6:57pm 
nvm just alt+f10 oops
Малигос 18 Jun @ 6:55pm 
i was at work and had access to the console and files from my phone... the shift+alt+f10 menu is kinda weird too with the admin mod menu, the blueprint screen blocks the view, can't even make it transparent in the options, i'll check in that file directory, thank you!
@Малигос
so you manage a server without having access to se itself to join it as an admin to be able to check in on stuff and access settings made to be accessible from in world?

if that is the case i would recommend from my side that you either get a version of se you can use for it or get someone you trust to do that stuff for you.

besides that the file with the settings of the world are inside the world specific storage folder findeable under %appdata%\spaceengineersdedicated\saves\yourworldname\storage\571920453.sbm_sedrag but you might need to request access to it if you use a third party serverprovider as most of them dont allow access to the appdata area on default.
Малигос 18 Jun @ 1:43pm 
Is there a way to change the max speed in the configs? Im running a dedicated server so its kinda hard to press buttons to open a menu
DraygoKorvan  [author] 16 Jun @ 9:47am 
It can Confuoco, as Ryunoske states though if you are using large grid this mod does not do the lift calculation by default, there is an addon mod that enables those functions here: https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2800215762
Ryunoske 14 Jun @ 2:10am 
Hello, sorry, we had a talk here. Closed shape will do nothing, and if you are speaking about large grid - drag coefficients don't work, so any ship is a brick for this mod.
Multiple wings I think will work, but I suggest just trying it and comparing.
Confuoco 13 Jun @ 5:57pm 
Hello. Question:
Does multiple layers of sloopes (wings) will help with lift? like multiwings?
Ryunoske 13 Jun @ 1:05pm 
Everything can be an insult, eh? :steammocking: