Jumper3DBehaviorOptions
@zylem/game-lib / behavior / Jumper3DBehaviorOptions
Interface: Jumper3DBehaviorOptions
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:53
Properties
coyoteTimeMs?
optionalcoyoteTimeMs?: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/jumper-3d.d.ts:67
Coyote time in ms (default: 100)
debugGroundProbe?
optionaldebugGroundProbe?: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/jumper-3d.d.ts:83
Enable debug visualization for ground probe rays (default: false)
fall?
optionalfall?:object
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:77
Fall tuning (optional)
fallGravityMultiplier
fallGravityMultiplier:
number
Gravity multiplier while falling (e.g. 1.5-2.5)
fastFallMultiplier?
optionalfastFallMultiplier?:number
Additional multiplier when fast-fall input is held
gravity?
optionalgravity?: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/jumper-3d.d.ts:57
Gravity magnitude applied by the behavior (default: 20)
groundRayLength?
optionalgroundRayLength?: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/jumper-3d.d.ts:79
Ground-detection ray length (default: 1.0)
jumpBufferMs?
optionaljumpBufferMs?: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/jumper-3d.d.ts:69
Jump buffer in ms (default: 80)
jumpHeight?
optionaljumpHeight?: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/jumper-3d.d.ts:55
Desired peak height in world units (default: 2.5)
maxFallSpeed?
optionalmaxFallSpeed?: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/jumper-3d.d.ts:59
Terminal fall speed (optional)
maxJumps?
optionalmaxJumps?: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/jumper-3d.d.ts:61
Max concurrent jumps, 1 = single, 2 = double, etc. (default: 1)
minTimeBetweenJumpsMs?
optionalminTimeBetweenJumpsMs?: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/jumper-3d.d.ts:71
Min cooldown between jumps in ms (optional)
planar?
optionalplanar?:object
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:75
Planar control config (optional)
airControl?
optionalairControl?:object
airControl.acceleration
acceleration:
number
Acceleration per second while airborne
airControl.deceleration
deceleration:
number
Deceleration per second when no input
airControl.maxPlanarSpeed
maxPlanarSpeed:
number
launchPlanarSpeed?
optionallaunchPlanarSpeed?:number
One-time planar speed applied at takeoff
preservePlanarSpeed?
optionalpreservePlanarSpeed?:boolean
If true, preserve current planar speed instead of replacing it
resetJumpsOnGround?
optionalresetJumpsOnGround?: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/jumper-3d.d.ts:63
Reset jump counter on ground (default: true)
resetJumpsOnWall?
optionalresetJumpsOnWall?: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/jumper-3d.d.ts:65
Reset jump counter on wall contact (default: undefined)
snapToGroundDistance?
optionalsnapToGroundDistance?: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/jumper-3d.d.ts:81
Max support distance that counts as grounded and can snap to ground
variableJump?
optionalvariableJump?:object
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:73
Variable jump height config (optional)
cutGravityMultiplier
cutGravityMultiplier:
number
Gravity multiplier applied when jump is released early while ascending
enabled
enabled:
boolean
maxHoldMs?
optionalmaxHoldMs?:number
Max hold duration before the cut triggers automatically (ms, optional)