Skip to main content

Jumper3DState

@zylem/game-lib


@zylem/game-lib / behavior / Jumper3DState

Enumeration: Jumper3DState

Defined in: node_modules/.pnpm/@zylem+behaviors@0.8.9_@types+react@19.3.0_react@19.3.0_three@0.185.1/node_modules/@zylem/behaviors/dist/jumper-3d.d.ts:21

Jumper 3D Finite State Machine

Three high-level states driven by events emitted from the behavior tick: Grounded ──Jump──▶ Jumping Grounded ──Fall──▶ Falling (walked off a ledge) Jumping ──Fall──▶ Falling (apex / descending) Jumping ──Jump──▶ Jumping (multi-jump) Jumping ──Land──▶ Grounded (rare — very short hop) Falling ──Land──▶ Grounded Falling ──Jump──▶ Jumping (air-jump while falling)

Enumeration Members​

Falling​

Falling: "falling"

Defined in: node_modules/.pnpm/@zylem+behaviors@0.8.9_@types+react@19.3.0_react@19.3.0_three@0.185.1/node_modules/@zylem/behaviors/dist/jumper-3d.d.ts:24


Grounded​

Grounded: "grounded"

Defined in: node_modules/.pnpm/@zylem+behaviors@0.8.9_@types+react@19.3.0_react@19.3.0_three@0.185.1/node_modules/@zylem/behaviors/dist/jumper-3d.d.ts:22


Jumping​

Jumping: "jumping"

Defined in: node_modules/.pnpm/@zylem+behaviors@0.8.9_@types+react@19.3.0_react@19.3.0_three@0.185.1/node_modules/@zylem/behaviors/dist/jumper-3d.d.ts:23