Function: createPhysicsEcsSystem()
createPhysicsEcsSystem(
physicsWorld,time):EcsSystem<[PhysicsBodyEcsComponent,PositionEcsComponent,RotationEcsComponent],void>
Defined in: physics/systems/physics.system.ts:21
Creates an ECS system to handle physics.
Parameters
physicsWorld
The physics world to step and synchronize with the ECS.
time
The time instance used to determine the simulation step size.
Returns
EcsSystem<[PhysicsBodyEcsComponent, PositionEcsComponent, RotationEcsComponent], void>