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

teleportActor

teleportActor(writer, entity, fall?): void

Puts a walker’s body where its transform now stands, as a jump rather than a walk: the next step would otherwise sweep the body from where it stood toward the transform, and stop at whatever lies between. The body is built again at once, at the transform’s own height, so the next step sweeps from there: built on that step, it would stand wherever the step’s movement had already taken it, through anything in the way. The height and the fall are the caller’s: a correction takes both from the room, which may have it on a rock above the terrain or halfway through a jump. So is whether its floor was read: a correction passes it read, since the room’s step that stood it there read it, so its replay skips the probe the room’s steps skip. Left unread, its next step probes it. Grounded and read, the floor under it is probed once where it stands, as the step that stood it there probed it and as Unreal’s client finds its floor after a correction, so its next step walks along that slope rather than level.

Parameter Type Default value
writer EntityAuthority undefined
entity Entity undefined
fall ActorFall standing

void