Space Engineers

Space Engineers

1,821 ratings
Aerodynamic Wings - blocks for planet atmosphere
13
2
3
2
   
Award
Favorite
Favorited
Unfavorite
Type: Mod
Mod category: Block, Script
File Size
Posted
Updated
3.487 MB
Jul 2, 2015 @ 12:59am
Mar 29, 2020 @ 9:51pm
23 Change Notes ( view )

Subscribe to download
Aerodynamic Wings - blocks for planet atmosphere

In 1 collection by Digi
Digi's Space Engineers mods
42 items
Description
This mod adds 3 wing blocks for small ships.

They're all slightly different wing variations, a straight, a slightly angled and a more angled one, all of which are 5 blocks wide, 1 block tall and 1 to 3 blocks in length.

These blocks apply lift when moved against their large area sides while also moving forward in an atmosphere, like a wing.

The higher you go the less efficient the wings will get all the way to no resistance when in space.

Survival ready, colorable.


Internal behavior
The wing blocks resist movement on their large surface sides if they go fast enough, which causes gliding/lift.

Minimum speed is 5m/s where the lift starts and stops increasing at 100m/s.

Force is applied at the grid-group center of mass (can be set to current grid only in the terminal, blocks are hidden in terminal by default).

They require planets with air density (not oxygen) similar to atmospheric thrusters.

On top of that, the different visual styles also come with different force scales, the angle 1 (2x1x5) has the regular (100%) force, the angled 2 (3x1x5) has 125% force and the straight one (1x1x5) has 75% force.


Usage
Simply place the block on a small ship pointed forwards and you're done, you have a glider!

Give it a rear thruster and you have a plane, also some gyros, since flaps are really hard to control with rotors and stuff but it IS possible to do it that way too, just mind that you need to point the wing forward even on the flaps :P

And maybe a forward facing thruster for slowing down easier but that's about it.


Visual debugging / seeing when they actually work
If you're unsure if the design you're making takes advantage of the wings, you can enable the debug mode that visualizes when the wing is in effect.

It only works in creative mode and to enable it you have to go to the ship's control panel, show hidden blocks then select the wing blocks you want to debug and enable "Show in Toolbar Config".

That will paint the wing green if it's working or red if it's not and show a green or red message with information to anyone controlling the ship and anyone within 30m from the wing.

To disable debug mode just turn off that "Show in Toolbar Config" checkbox and the messages will stop showing and the wings will be painted back to their original color.


Worlds, blueprints, etc
I published a world which has that plane from the screenshot and some other stuff, including a really huge flat gravity field provided by my Enhanced Gravity Generators mod, have a go at it: (World) Aerodynamics Playground


Problems...
Well the main problem is that it's easy to abuse it, you can place wings inside the ship and it'll still work, adding checks for such things is complicated and not really worth it, especially since the game itself doesn't do that with thrusters either xD


Programmable block API
With a PB you can read the currently applied force and the world position where that force is applied.

"Wings.AppliedForce" of type Nullable<Vector3> which returns null if the block is not actually a wing.
"Wings.AppliedForceAt" of type Nullable<Vector3D> which returns null if no force is being applied.
"Wings.UseGridCOM" of type bool which is the toggle in the "Use center of mass of:" button in terminal, true is "Grid", false is "Ship".

You can test if the mod is available (or updated) by using GetProperty("name") and nullcheck.


Related mods
Improved Thrusters - Reverse thrust, spinning fans, better jet flame
Enhanced Gravity Generators - pulling ships together, literally

This mod is quite simple, there are more advanced aerodynamic mods out there:
Aerodynamic Physics (Deadly Reentry + Drag + Flight)
Planetary Dynamics - Re-Entry Heat, Drag, and Wings


Known issues
- Fixed in SE v01.164 Since v01.157 wings on rotors with safetylock will behave weirdly after a while (applying forces in seemingly random directions) as well as detecting atmosphere while in space at seemingly random times, these issues are with the game and have been reported to devs.


mod io?
Not as is right now[gist.github.com]
Would need changes to have all the features work without clientside scripts, I don't know when I'll get to this xD
Popular Discussions View All (7)
15
Jun 13, 2023 @ 5:17pm
Suggestions
_coronal_
12
Jul 13, 2021 @ 4:51am
Wing Size
|U.B.C.S| LoneWolf
5
Jun 3, 2016 @ 8:42pm
Merge Block Compatibabilty
00Emerald
< >
674 Comments
Digi  [author] Feb 23 @ 10:11pm 
Yes but only as "decorations", that mod has a setting to turn off this mod's logic (which I provide via API) otherwise they'd both apply forces and would become weird.
Kasolin Feb 23 @ 8:37am 
Can this mod be used together with the Aerodynamic Physics Mod?
e1k3 Jan 25 @ 5:43am 
E: also works without any speed mod of course.
e1k3 Jan 25 @ 5:43am 
done, it works fine with a standard speed mod of 200m/s. my suspicion is that due to how this works, some number the speed mod uses to calculate the max speed doesnt check out and it tries to aggressively slow down a grid it thinks moves too fast.
Digi  [author] Jan 24 @ 10:35pm 
Can you try the same ship without relative top speed, and normal max speed mod for 200 or more? Trying to see if it's some quirk of the ship or the relative top speed mod itself :lunar2020thinkingtiger:
e1k3 Jan 24 @ 11:51am 
So, i encountered a somewhat unique issue with these, when paired with the relative top speed mod (grid mass determines max speed).

When approaching ~160-170m/s (with a max speed of 200m/s) the ship constantly experiences intense downward drag, virtually impossible to counteract. Flying slower works perfectly fine.

Is there a way to make these two work together?
Digi  [author] Sep 12, 2023 @ 3:29pm 
Well it doesn't stop generating, it only stops increasing so at 300m/s the wings provide the same resistance force at 100m/s.
Because I use speed in the calculation, changing the limits would change the force, which would probably make turns too tight... and changing the minimum probably also makes it barely do anything at the minimum aswell.

And needing 40m/s aka 144 km/h to get any lift sounds rather extreme :P

Either way, I dunno if I'll work on this mod past just fixes, I might break stuff and that would suck =)
Ragnar Sep 12, 2023 @ 11:46am 
Hi, is there any way to modify the "Minimum speed is 5m/s where the lift starts and stops increasing at 100m/s."

Most of my saves have a 300m/s max speed, for this i would like modify this speeds, for example:

wing start generating lift at 40m/s
wings stop generating lift at 300m/s
Unruly Sep 7, 2023 @ 10:03am 
I second the request for a large grid version of wing blocks.
Valoneu Jul 29, 2023 @ 7:40pm 
yea but that has a lot of other parts i dont want, i just want mod with the wings