Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IEnginePhysics

Hierarchy

  • IEnginePhysics

Index

Properties

acc

acc: Vector

Global engine acceleration, useful for defining consistent gravity on all actors

allowRotation

allowRotation: boolean

Allow rotation in the physics simulation

broadphaseStrategy

broadphaseStrategy: BroadphaseStrategy

Broadphase strategy for identifying potential collision contacts

collisionPasses

collisionPasses: number

Number of collision resolution passes

collisionResolutionStrategy

collisionResolutionStrategy: CollisionResolutionStrategy

Collision resolution strategy for handling collision contacts

defaultMass

defaultMass: number

Default mass of new actors created in excalibur

enabled

enabled: boolean

Global to switch physics on or off (switching physics off will improve performance)

integrationSteps

integrationSteps: number

Number of pos/vel integration steps

integrator

integrator: string

The integration method

motionBias

motionBias: number

Bias motion calculation towards the current frame, or the last frame