five-on-it / packages/sim/src/ladders / climbStep
Function: climbStep()
climbStep(
sim,eid,body,input):boolean
Defined in: packages/sim/src/ladders.ts:153
One tick of a climber, when the character climbs (true; nothing done otherwise): up or down its ladder by the forward and back keys, held on its line; off at the top onto the floor beyond its wall, off at the foot onto its floor, or let go with the jump key, pushed back off the wall.
Parameters
sim
eid
number
body
RigidBody
input
handbrake
boolean
run
boolean
throttle
number
Returns
boolean