Skip to main content

JumpState3D

@zylem/game-lib


@zylem/game-lib / behavior / JumpState3D

Interface: JumpState3D

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/components--hjBMTnz.d.ts:102

Properties​

bufferedJumpMs​

bufferedJumpMs: number

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/components--hjBMTnz.d.ts:108

Remaining ms in the jump-buffer window (counts down)


coyoteMs​

coyoteMs: number

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/components--hjBMTnz.d.ts:110

Remaining ms in the coyote-time window (counts down)


isJumping​

isJumping: boolean

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/components--hjBMTnz.d.ts:112

True while the entity is in a jump arc (ascending phase)


jumpCutApplied​

jumpCutApplied: boolean

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/components--hjBMTnz.d.ts:116

Whether the variable-jump cut has already been applied this jump


jumpHoldMs​

jumpHoldMs: number

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/components--hjBMTnz.d.ts:114

Elapsed ms since jump button was first held (for variable jump)


jumpsUsed​

jumpsUsed: number

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/components--hjBMTnz.d.ts:104

Number of jumps consumed since last reset


lastJumpTimeMs​

lastJumpTimeMs: number

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/components--hjBMTnz.d.ts:106

Timestamp (ms) of the most recent jump execution