Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PhysicsContactListener

Hierarchy

Index

Properties

_BeginContact

_BeginContact: Function | null = null

_EndContact

_EndContact: Function | null = null

_PostSolve

_PostSolve: Function | null = null

_PreSolve

_PreSolve: Function | null = null

_contactFixtures

_contactFixtures: b2.Fixture[] = []

Static Readonly b2_defaultListener

b2_defaultListener: b2ContactListener = new b2ContactListener()

Methods

BeginContact

  • BeginContact(contact: b2.Contact): void

BeginContactFixtureParticle

BeginContactParticleParticle

EndContact

  • EndContact(contact: b2.Contact): void

EndContactFixtureParticle

EndContactParticleParticle

PostSolve

  • PostSolve(contact: b2.Contact, impulse: b2.ContactImpulse): void

PreSolve

  • PreSolve(contact: b2.Contact, oldManifold: b2.Manifold): void

registerContactFixture

  • registerContactFixture(fixture: any): void

setBeginContact

  • setBeginContact(cb: any): void

setEndContact

  • setEndContact(cb: any): void

setPostSolve

  • setPostSolve(cb: any): void

setPreSolve

  • setPreSolve(cb: any): void

unregisterContactFixture

  • unregisterContactFixture(fixture: any): void

Generated using TypeDoc