Class GravityWellComponent
The server-side version of
Inheritance
Namespace: Content.Server.Singularity.Components
Assembly: Content.Server.dll
Syntax
public sealed class GravityWellComponent : Component
Fields
| Improve this Doc View SourceBaseRadialAcceleration
The acceleration entities will experience towards the gravity well at a distance of 1m. Negative values accelerate entities away from the gravity well. Actual acceleration scales with the inverse of the distance to the singularity.
Declaration
public float BaseRadialAcceleration
Field Value
Type | Description |
---|---|
System.Single |
BaseTangentialAcceleration
The acceleration entities will experience tangent to the gravity well at a distance of 1m. Positive tangential acceleration is counter-clockwise. Actual acceleration scales with the inverse of the distance to the singularity.
Declaration
public float BaseTangentialAcceleration
Field Value
Type | Description |
---|---|
System.Single |
MaxRange
The maximum range at which the gravity well can push/pull entities.
Declaration
public float MaxRange
Field Value
Type | Description |
---|---|
System.Single |
MinRange
The minimum range at which the gravity well can push/pull entities. This is effectively hardfloored at MinGravPulseRange.
Declaration
public float MinRange
Field Value
Type | Description |
---|---|
System.Single |
Properties
| Improve this Doc View SourceLastPulseTime
The last time this gravity well pulsed.
Declaration
public TimeSpan LastPulseTime { get; }
Property Value
Type | Description |
---|---|
TimeSpan |
NextPulseTime
The next time at which this gravity well should pulse.
Declaration
public TimeSpan NextPulseTime { get; }
Property Value
Type | Description |
---|---|
TimeSpan |
TargetPulsePeriod
The amount of time that should elapse between automated updates to this gravity well.
Declaration
public TimeSpan TargetPulsePeriod { get; }
Property Value
Type | Description |
---|---|
TimeSpan |