Refactor thrusters (#15698)
This commit is contained in:
@@ -6,6 +6,18 @@ namespace Content.Server.Shuttles.Components
|
||||
[ViewVariables]
|
||||
public bool Enabled = true;
|
||||
|
||||
[ViewVariables]
|
||||
public Vector2[] CenterOfThrust = new Vector2[4];
|
||||
|
||||
/// <summary>
|
||||
/// Thrust gets multiplied by this value if it's for braking.
|
||||
/// </summary>
|
||||
public const float BrakeCoefficient = 1.5f;
|
||||
|
||||
public const float MaxLinearVelocity = 10f;
|
||||
|
||||
public const float MaxAngularVelocity = 1f;
|
||||
|
||||
/// <summary>
|
||||
/// The cached thrust available for each cardinal direction
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user