Scrap Mechanic

Scrap Mechanic

226 ratings
Engineer's Toolbox
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
39.733 MB
Jun 1, 2018 @ 7:27am
Oct 20, 2018 @ 6:08am
17 Change Notes ( view )

Subscribe to download
Engineer's Toolbox

In 2 collections by DasEtwas
Realism Enhancements
3 items
my mods
4 items
Description
(Previously Vehicle Indicators)
Adds various blocks that allow making vehicles with precise weight distributions or allow to "change the physics" of drag.

Creation Center of Mass Finder
- creates particles to display the local axis of the indicator around the CoM of the entire creation
- shows the center of mass with a particle

Body Center of Mass Finder
- creates particles to display the local axis of the indicator around the CoM of the body the indicator is on
- shows the center of mass with a particle

Center of Thrust Finder
- shows the thrust vector of all vanilla thrusters on the creation at the center of thrust

Modes
The indicators can be switched through modes using the [Use] button. There are 4 Modes, which change the size of the displayed axis.

Drag Reducer
- lowers the inherent drag of the game from 2.5% speed per frame to 0.5%
- makes gliding planes and driving cars fast easier
- may be unbalanced, because creations now don't magically come to a stop as fast
- may be placed multiple times on a creation, it doesnt matter

Scale
- logs the mass and weight of the whole creation in the console when used
- rounded to 3 decimal places

Thrust Scale
- logs the length of the vector sum of all thrusts of all thrusters on a creation when turned on in newtons when used
- rounded to 3 decimal places

Note
On very large creations (5k+ blocks, intricate shapes) following blocks may cause a drop in framerate:
CoM finder, BCoM finder, Drag Reducer

This mod is open source! Feel free to create issues or pull requests: https://github.com/DasEtwas/scrap-mechanic-mods

tags: engi, engineer, tools, no drag, no air, air friction, com, cog, center of gravity
84 Comments
davidtpfk Jul 11, 2024 @ 10:45pm 
is that the absolute solver from murder drones :O
cat Mar 3, 2024 @ 5:49am 
I forgot to add that the first scoreboard shows the height and the second the speed in blocks per second
cat Mar 3, 2024 @ 5:46am 
Hello, I found a bug related to drag redusor. When fired at an angle to the horizon, a projectile with a drag redusor mounted on it accelerates, starting from the moment of firing. Thus, drag redusor should reduce the effect of the force of resistance, but does the opposite by accelerating the projectile. The fired projectile does not move along a parabolic trajectory and its movement cannot be described mathematically. Please solve this problem or suggest something to solve it. My goal is to mathematically describe bodies that move freely in space, whether it's a projectile fired at an angle or a bomb sight for an airplane. I will be very glad if this problem is solved. I am attaching video evidence on Google drive.

https://drive.google.com/drive/folders/13EH7eDqSq86nnQHACCV0hfIOuVnxe2oI?usp=drive_link
JACKOB7776 Mar 1, 2024 @ 7:38am 
the drag reducer is amazing. it absolutely solved my problems. i made ka 52 coaxial rotor attack helicopter whitch didnt use any suspension glitches or thrusters. all controled by changes in a rotor. this helicopter is aazing to fly and all but it had one big issue. it couldnt get faster than like about 50 km/h whitch is slower than most of cars. when i puted the drag reducer on it does not have that issue anymore whitch is great. but now another problem came. it has too small amount of drag and it starts to fly as fast as my jets and after gaining speed it starts to be completly numb to my comands and rotor blades pitch does not want to cooperate.

so could you make a version whitch will let me set the drag i need or just make another block whitch insted of deleting the drag it just sets it from 2,5% to just 0,5%?

it would be awesome if you would
DasEtwas  [author] Aug 21, 2023 @ 3:37pm 
what?
NderHAM Aug 14, 2023 @ 4:51am 
no way, its the absolute solver from murder drones
DasEtwas  [author] Oct 4, 2022 @ 8:20am 
Sadly I've been out of the loop for SM for so long now that I have no clue how to accomplish that. Note that some of my mods are now open source: https://github.com/DasEtwas/scrap-mechanic-mods , which means I'm open for Pull Requests. Thanks for the kind words.
rollscanarley Oct 2, 2022 @ 10:25am 
I've been using and loving the COM block for a LONG time. I have a question. Could you make lines instead of particles? It would be much easier to see. If not, no biggie. Thanks for the awesome mod.
aferruh58 Aug 21, 2022 @ 12:28pm 
Hello when ı try to use the center of thrust block it gives this error:

21:43:58 (1909677/6086) [Lua] ERROR: ...4a-94a0-992090380ed1/Scripts/indicators.lua:166: Division by zero
21:43:58 (1909677/6086) [Lua] ----- Lua Error Traceback -----
[C]: in function '__div'
...4a-94a0-992090380ed1/Scripts/indicators.lua:166: in function 'client_onUpdate' (Lua entered on line number: 134)
DasEtwas  [author] Jun 29, 2022 @ 1:12pm 
no