Skip to main content

FB1ZoneGraphNode

Overview

  • Represents a node in the zone graph connecting two adjacent zones, storing entry/exit locations, stair paths, and connected edges. Used for high-level inter-zone pathfinding including stairs, ladders, and swimming pool coping transitions.

Metadata

FieldValue
Kindstruct
EnvironmentB1 - Presentation
Categorystructs

Properties (18)

NameTypeDescription
ActorEntityIdFB1EntityIdEntity ID of the actor (e.g., door, stair, ladder) associated with this node.
ConnectedEdgesFB1ZoneGraphEdge[]List of edges connecting this node to other zone graph nodes.
DoorIndexestable<integer, boolean>Set of grid indices occupied by a door blocking this node.
LadderForwardVectorFVectorForward vector of the ladder actor for orientation during traversal.
LadderHeightnumberHeight of the ladder associated with this node.
NodeTypeEB1ZoneGrpahNodeTypeType classification of this zone graph node (e.g., door, stair, ladder).
StairPathZone1ToZone2FB1NavigationNode[]Cached navigation path nodes for traversing stairs from zone 1 to zone 2. Split into zone1->zone2 and zone2->zone1 because right-hand traffic cannot be handled by a simple reverse.
StairPathZone1ToZone2CostnumberTraversal cost for the stair path from zone 1 to zone 2.
StairPathZone2ToZone1FB1NavigationNode[]Cached navigation path nodes for traversing stairs from zone 2 to zone 1.
StairPathZone2ToZone1CostnumberTraversal cost for the stair path from zone 2 to zone 1.
SwimmingPoolCoppingEndLocationFVectorWorld location where the swimming pool coping path ends.
SwimmingPoolCoppingStartLocationFVectorWorld location where the swimming pool coping path starts.
ZoneIndex1integerIndex of the first zone connected by this node.
ZoneIndex1EnterLocationFVectorWorld location where zone 1 is entered via this node.
ZoneIndex1ExitLocationFVectorWorld location where zone 1 is exited via this node.
ZoneIndex2integerIndex of the second zone connected by this node.
ZoneIndex2EnterLocationFVectorWorld location where zone 2 is entered via this node.
ZoneIndex2ExitLocationFVectorWorld location where zone 2 is exited via this node.