Skip to content

HazardVolumeInfo

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

No Description Found

radius

Type: number Default: 1

The radius of this volume.


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


type

Type: HazardType Default: general

The type of hazard for this volume.

See Definitions/HazardType

damagePerSecond

Type: number Default: 10

The amount of damage you will take per second while inside this volume.


firstContactDamageType

Type: InstantDamageType Default: impact

The type of damage you will take when you first touch this volume.

See Definitions/InstantDamageType

firstContactDamage

Type: number

The amount of damage you will take when you first touch this volume.