Scrap Mechanic

Scrap Mechanic

Not enough ratings
Stabalizing Drone
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
15.162 KB
22 Aug, 2020 @ 3:54am
1 Change Note ( view )

Subscribe to download
Stabalizing Drone

Description
This is an example for the programmable processor mod.
Spawn in the drone and lift it up into the air a couple of blocks. Press the the white button next to the green block to start the stabalization program. After that press the switch on the side to start the main thrusters. Give it an impulse and see how it stabalizes itself.
NOTE: This is only a very basic stabalization program which doesnt take into account how much balancing is needed! Too strong forces will make it tumble but that is something that you can improve in your own version :D
Sourcecode is in the file called s on the pc or in the examples section of the new language guide.
Have fun with the drone :)