Skip to content

System: portal

Portal teleportation system.

Entities that move onto a portal are teleported to the paired portal's location, if unblocked.

portal_system(state, ctx)

Apply portal teleportation for all portals in the state.

portal_system_entity(state, ctx, augmented_trail, portal_id)

Teleport entities entering the specified portal to its pair.