GravityVolumeInfo
No Description Found
force
The force applied by this volume. Can be negative to reverse the direction.
alignmentPriority
The priority of this force volume for the purposes of alignment.
Volumes of higher priority will override volumes of lower priority. Volumes of the same priority will stack like normal.
Ex: A player in a gravity volume with priority 0, and zero-gravity volume with priority 1, will feel zero gravity.
Default value here is 1 instead of 0 so it automatically overrides planet gravity, which is 0 by default.
inheritable
Whether this force volume is inheritable. The most recently activated inheritable force volume will stack with other force volumes even if their priorities differ.
layer
The layer of this volume.
Layers separate the priority system. The priority of volumes in one layer will not affect or override volumes in another. The highest priority volume in each layer will stack like normal.
The exception is layer 0. A higher-priority volume in layer 0 will override lower-priority volumes in ALL other layers. A lower-priority volume in layer 0 will stack with other layers like normal.
Ex: A player could be affected by the sun on layer 9 priority 0 and planet gravity on layer 3 priority 2. They would experience the gravity of both volumes since they are on different layers.
If there was a zero-g volume on layer 0 priority 1, since it is on layer 0 it will override the gravity from the sun (priority 0 which is less than 1) but they will still feel the
gravity of the planet (priority 2 is greater than 1). The zero-g volume will also still be applied because it is on a different layer.
Default value here is 0 which means this volume's priority will be evaluated against all other priority volumes regardless of their layer.
priority
The priority of this volume.
Volumes of higher priority will override volumes of lower priority. Volumes of the same priority will stack like normal.
Ex: A player in a gravity volume with priority 0, and zero-gravity volume with priority 1, will feel zero gravity.
Default value here is 1 instead of 0 so it automatically overrides planet gravity, which is 0 by default.
radius
The radius of this volume, if a shape is not specified.
shape
The shape of this volume. Defaults to a sphere with a radius of `radius` if not specified.
alignRadial
Do we try to automatically align this object to stand upright relative to the body's center? Stacks with rotation.
Defaults to true for geysers, tornados, and volcanoes, and false for everything else.
isRelativeToParent
Whether the positional and rotational coordinates are relative to parent instead of the root planet object.
parentPath
The relative path from the planet to the parent of this object. Optional (will default to the root sector).
rename
An optional rename of this object
upperRadius
The upper bounds of the volume's "surface". Above this radius, the force applied by this volume will have falloff applied.
lowerRadius
The lower bounds of the volume's "surface". Above this radius and below the `upperRadius`, the force applied by this volume will be constant. Defaults to 0.
minRadius
The volume's force will decrease linearly from `force` to `minForce` as distance decreases from `lowerRadius` to `minRadius`. Defaults to 0.
minForce
The minimum force applied by this volume between `lowerRadius` and `minRadius`. Defaults to 0.
fallOff
How the force falls off with distance. Most planets use linear but the sun and some moons use inverseSquared.
alignmentRadius
The radius where objects will be aligned to the volume's force. Defaults to 1.5x the `upperRadius`. Set to 0 to disable alignment.