Show / Hide Table of Contents

Class GravityWellComponent

The server-side version of . Primarily managed by GravityWellSystem.

Inheritance
System.Object
GravityWellComponent
Namespace: Content.Server.Singularity.Components
Assembly: Content.Server.dll
Syntax
public sealed class GravityWellComponent : Component

Fields

| Improve this Doc View Source

BaseRadialAcceleration

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
| Improve this Doc View Source

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
| Improve this Doc View Source

MaxRange

The maximum range at which the gravity well can push/pull entities.

Declaration
public float MaxRange
Field Value
Type Description
System.Single
| Improve this Doc View Source

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 Source

LastPulseTime

The last time this gravity well pulsed.

Declaration
public TimeSpan LastPulseTime { get; }
Property Value
Type Description
TimeSpan
| Improve this Doc View Source

NextPulseTime

The next time at which this gravity well should pulse.

Declaration
public TimeSpan NextPulseTime { get; }
Property Value
Type Description
TimeSpan
| Improve this Doc View Source

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
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾