@relu-interactives/spatial-ecs
@relu-interactives/spatial-ecs / index / createPhysicsComponent
Function: createPhysicsComponent() ​
ts
function createPhysicsComponent(
world,
entityId,
values?): PhysicsComponent;Defined in: factories/components/PhysicsFactory.ts:95
Parameters ​
| Parameter | Type |
|---|---|
world | World |
entityId | number |
values? | PhysicsFactoryValues |

