Skip to content

five-on-it / packages/sim/src/sitting / setSitting

Function: setSitting() ​

setSitting(sim, eid, spot): void

Defined in: packages/sim/src/sitting.ts:96

Sets a character's seat outright (a client's copy of what the server says): on the seat spot, its body out of the physics, or, −1, on none and back in; its pose is the snapshot's.

Parameters ​

sim ​

SimWorld

eid ​

number

spot ​

number

Returns ​

void