Interface
DoubleJumpComp
:The doubleJump component.
group
Component Types
numJumps
: numberNumber of jumps allowed.
doubleJump
(force?: number): voidPerforms double jump (the initial jump only happens if player is grounded).
onDoubleJump
(action: () => void): KEventControllerRegister an event that runs when the object performs the second jump when double jumping.