Interface IMyThrust
Describes assembler block (PB scripting interface)
Inherited Members
Namespace: Sandbox.ModAPI.Ingame
Assembly: Sandbox.Common.dll
Syntax
public interface IMyThrust : IMyFunctionalBlock, IMyTerminalBlock, IMyCubeBlock, IMyEntity
Properties
CurrentThrust
Gets the current thrust amount, in Newtons (N)
Declaration
float CurrentThrust { get; }
Property Value
Type | Description |
---|---|
System.Single |
CurrentThrustPercentage
Gets the current thrust amount, in %. CurrentThrust of MaxThrust
Declaration
float CurrentThrustPercentage { get; }
Property Value
Type | Description |
---|---|
System.Single |
GridThrustDirection
Gets the direction of thrust, relative to ship controller (cockpit).
Declaration
Vector3I GridThrustDirection { get; }
Property Value
Type | Description |
---|---|
Vector3I |
Remarks
For example, a value of Forward means the thruster will move the grid along the grid's forward direction. A value of Vector3D.Zero means direction is unknown (no cockpit available).
MaxEffectiveThrust
Gets the maximum effective thrust amount, in Newtons (N)
Declaration
float MaxEffectiveThrust { get; }
Property Value
Type | Description |
---|---|
System.Single |
MaxThrust
Gets the maximum thrust amount, in Newtons (N)
Declaration
float MaxThrust { get; }
Property Value
Type | Description |
---|---|
System.Single |
ThrustOverride
Gets or sets the override thrust amount, in Newtons (N)
Declaration
float ThrustOverride { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
ThrustOverridePercentage
Gets or sets the thrust override as a percentage between 0 and 1
Declaration
float ThrustOverridePercentage { get; set; }
Property Value
Type | Description |
---|---|
System.Single |