1681-engine / index / physicsSystem
Function: physicsSystem() ​
ts
function physicsSystem(physics, name?): System;Defined in: src/physics/physicsSystem.ts:5
A fixed system that steps physics once per simulation step, by the loop's own dt.
Parameters ​
| Parameter | Type | Default value |
|---|---|---|
physics | PhysicsWorld | undefined |
name | string | 'physics' |