constructor(options?: Physics2DPluginOptions)
View sourceCreates a 2D physics integration with optional plugin injection.
Omitted broadphase and narrowphase options create the default
collision plugins. Supplied plugin instances are kept by reference and
registered with the app when this plugin is registered.
autoUpdateBounds defaults to true; set it to false when the
application updates PhysicsHitbox bounds itself.
The integrator option defaults to EulerIntegrator2DPlugin and
is retained for compatibility. It does not configure the collision
handling performed by this plugin.
