Skip to content

PlayerSpawnPoint

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

No Description Found

offset

Type: MVector3

Offsets the player/ship by this local vector when spawning. Used to prevent spawning in the floor. Optional: defaults to (0, 4, 0).

See Definitions/MVector3

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


startWithSuit

Type: boolean

If you spawn on a planet with no oxygen, you probably want to set this to true ;;)


isDefault

Type: boolean

Whether this planet's spawn point is the one the player will initially spawn at, if multiple spawn points exist.