five-on-it / packages/sim/src/proxy / setProxy
Function: setProxy()
setProxy(
sim,eid,proxy):void
Defined in: packages/sim/src/proxy.ts:51
Makes an entity a proxy, or simulates it in full again; a vehicle's trailer goes with it. Its pose and velocities are kept: the next snapshot sets them anyway.
Parameters
sim
eid
number
proxy
boolean
Returns
void