Interface: PhysicsSystemConfig
Configuration for physics system.
Properties
contactListener
• Optional
contactListener: b2ContactListener
Optional contact listener instance with contact callbacks.
debugDrawEnabled
• Optional
debugDrawEnabled: boolean
Optional initial status of debug drawing. Note that the DebugDrawSystem must also exist in the engine for debug drawing to happen.
Defaults to true
if not provided.
worldScale
• Optional
worldScale: number
Optional world scale applied to all coordinate transforms. Defaults to 0.1
if not
provided.