Skip to content

Thruster

Pushes its Body (and whatever it’s welded to) along Direction while it has Power: wire a button to it to lift a platform or drive a cart. A ParticleEmitter on it fires while it pushes.

Part of the Contraptions module: Contraptions, Garry’s Mod and Wiremod style: building tools used while the game runs (SandboxTools), welds, ropes and thrusters, wiring with buttons, sensors, gates, lamps and displays, and the Contraption template.

Requires: Body (what it pushes)

Each is listed as its key in the scene file and the MCP tools, then its kind of value, its default and what it does.

  • force: a number = 60. How hard it pushes at full power. A crate weighs 1, and gravity pulls it with 25. (Field: a number.)
  • direction: [x, y] = [0,1]. Which way it pushes, turned with the entity: up is (0, 1). (A direction, x right and y up: [0, 1] is up, [1, 0] right, [1, 1] up and to the right. The Inspector has a compass of the eight ways; with Distance Handles the Scene view draws it as an arrow to drag round.) (Field: its own editor: Direction.)
  • power: a number = 0. Its input: how hard it pushes, from 0 (off) to 1 (full). Wire something to its “Power”, or set it. (Field: a number.)

Scripts use it as Thruster: its methods, events and values that aren’t saved with the scene.