Skip to content

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 ​

ParameterTypeDefault value
physicsPhysicsWorldundefined
namestring'physics'

Returns ​

System

Released under the MIT License.