@relu-interactives/spatial-ecs
@relu-interactives/spatial-ecs / components / setPhysicsLiveRef
Function: setPhysicsLiveRef() ​
ts
function setPhysicsLiveRef(
component,
key,
value): void;Defined in: components/Physics.ts:370
Parameters ​
| Parameter | Type |
|---|---|
component | PhysicsComponent |
key | "collider" | "rigidBody" | "pendingVelocity" |
value | RigidBody | Collider | PendingBodyVelocity | null |
Returns ​
void

