Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

TeleportOptions

What teleport takes.

Property Type Default value Description
keepVelocity? boolean true Whether it keeps its velocity, as Unity, Godot and Roblox keep a body’s velocity when a script sets its position, so a portal keeps her speed. False stops it, as a respawn wants.
position? Vector3Like undefined Where it goes: a character’s feet, a body’s origin. Left out, it stays.
rotation? QuaternionLike undefined The way it faces once there; left out, it keeps its facing.