Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IPhysicsWorld

Hierarchy

  • IPhysicsWorld

Implemented by

Index

Properties

debugDrawFlags

debugDrawFlags: number

Readonly impl

impl: any

setAllowSleep

setAllowSleep: (v: boolean) => void

Type declaration

    • (v: boolean): void
    • Parameters

      • v: boolean

      Returns void

setGravity

setGravity: (v: IVec2Like) => void

Type declaration

Methods

drawDebug

  • drawDebug(): void

raycast

step

  • step(deltaTime: number, velocityIterations?: undefined | number, positionIterations?: undefined | number): void

syncPhysicsToScene

  • syncPhysicsToScene(): void

syncSceneToPhysics

  • syncSceneToPhysics(): void

testAABB

testPoint

Generated using TypeDoc