Static accStatic bodiesBy default bodies do not sleep
Static boundsPad RigidBody BoundingBox by a constant amount
Static broadphaseGets or sets the broadphase pair identification strategy.
The default strategy is BroadphaseStrategy.DynamicAABBTree which uses a binary tree of axis-aligned bounding boxes to identify potential collision pairs which is O(nlog(n)) faster.
Static checkEnable fast moving body checking, this enables checking for collision pairs via raycast for fast moving objects to prevent bodies from tunneling through one another.
Static collisionGets or sets the global collision resolution strategy (narrowphase).
The default is CollisionResolutionStrategy.Arcade which performs simple axis aligned arcade style physics.
More advanced rigid body physics are enabled by setting CollisionResolutionStrategy.Realistic which allows for complicated simulated physical interactions.
Static defaultThe default mass to use if none is specified
Static disableDisable minimum fast moving body raycast, by default if ex.Physics.checkForFastBodies = true Excalibur will only check if the body is moving at least half of its minimum dimension in an update. If ex.Physics.disableMinimumSpeedForFastBody is set to true, Excalibur will always perform the fast body raycast regardless of speed.
Static dynamicFactor to add to the RigidBody BoundingBox, bounding box (dimensions += vel * dynamicTreeVelocityMultiplier);
Static enabledGlobally switches all Excalibur physics behavior on or off.
Static integratorGets or sets the position and velocity positional integrator, currently only Euler is supported.
Static positionNumber of position iterations (overlap) to run in the solver
Static sleepStatic sleepStatic slopAmount of overlap to tolerate in pixels
Static steeringAmount of positional overlap correction to apply each position iteration of the solver O - meaning no correction, 1 - meaning correct all overlap
Static surfaceSurface epsilon is used to help deal with surface penetration
Static velocityNumber of velocity iteration (response) to run in the solver
Static wakeStatic warmWarm start set to true re-uses impulses from previous frames back in the solver
Static dynamicStatic gravityStatic useStatic use
The Physics object is the global configuration object for all Excalibur physics.