Skip to content

DestructionVolumeInfo

Celestial Body Schema / Definitions / DestructionVolumeInfo
Schema Type: JSON Type: object

No Description Found

shrinkBodies

Type: boolean Default: true

Whether the bodies will shrink when they enter this volume or just disappear instantly.


onlyAffectsPlayerRelatedBodies

Type: boolean

Whether this volume only affects the player, ship, probe/scout, model rocket ship, and nomai shuttle.


radius

Type: number Default: 1

The radius of this volume, if a shape is not specified.


shape

Type: ShapeInfo

The shape of this volume. Defaults to a sphere with a radius of `radius` if not specified.

See Definitions/ShapeInfo

rotation

Type: MVector3

Rotation of the object

See Definitions/MVector3

alignRadial

Type: boolean or null

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.


position

Type: MVector3

Position of the object

See Definitions/MVector3

isRelativeToParent

Type: boolean

Whether the positional and rotational coordinates are relative to parent instead of the root planet object.


parentPath

Type: string

The relative path from the planet to the parent of this object. Optional (will default to the root sector).


rename

Type: string

An optional rename of this object


deathType

Type: NHDeathType Default: default

The type of death the player will have if they enter this volume.

See Definitions/NHDeathType