Appearance
twine / Zone
Type Alias: Zone โ
Zone = {
center:Vec3;radius:number;shape:"sphere"; } | {from:Vec3;shape:"cuboid";to:Vec3; }
Defined in: twine/src/core/area.ts:14
A volume a player can be inside. Several zones in one zones trigger form a union.
sphere: withinradiusblocks ofcenter, in 3D.cuboid: inside the box between cornersfromandto(inclusive, any order).