Skip to content

Space Engineers: Disables thusters pointing in the same direction as natural gravity.

Notifications You must be signed in to change notification settings

darkthing41/SE_ThrusterSafety

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

SE_ThrusterSafety

Space Engineers: Disables thusters providing thrust in the same direction as natural gravity.

This project is configured to be built within a separate IDE to allow for error checking, code completion etc.. Only the section in #region CodeEditor should be copied into the Space Engineers editor. This region has been automatically extracted into the corresponding txt file.

##Description Determines whether a thruster should be enabled by checking it's orientation compared to natural gravity.

  • checks all thrusters on the same grid as the configured Remote Control
  • compares angle to a configured cutoff angle
    • relative to local natural gravity
    • accounting for ship orientation
  • enables thrusters within the safe range
  • disables thusters outside the safe range

##Hardware

Block(s) number Configurable
Ship Controller single by name constant
Thrusters [all] no*
*but limited by the algorithm to those on the same grid as the Remote Control

##Configuration

  • nameController: the name of the Remote Control used to identify the main grid and get local gravity
  • angleSafetyCutoff: the angle from gravity above which thrusters will be disabled (in radians)

##Standard Blocks

  • ValidateBlock(): check that found blocks are usable
  • Status/Initialise/Validate framework

About

Space Engineers: Disables thusters pointing in the same direction as natural gravity.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages