Options
All
  • Public
  • Public/Protected
  • All
Menu

Class b2Contact<A, B>

Type parameters

Hierarchy

Index

Properties

m_bulletHitFlag

m_bulletHitFlag: boolean = false

m_enabledFlag

m_enabledFlag: boolean = false

m_filterFlag

m_filterFlag: boolean = false

m_fixtureA

m_fixtureA: b2Fixture

m_fixtureB

m_fixtureB: b2Fixture

m_friction

m_friction: number = 0

m_indexA

m_indexA: number = 0

m_indexB

m_indexB: number = 0

m_islandFlag

m_islandFlag: boolean = false

m_manifold

m_manifold: b2Manifold = new b2Manifold()

m_next

m_next: b2Contact | null = null

Readonly m_nodeA

m_nodeA: b2ContactEdge = new b2ContactEdge(this)

Readonly m_nodeB

m_nodeB: b2ContactEdge = new b2ContactEdge(this)

m_oldManifold

m_oldManifold: b2Manifold = new b2Manifold()

m_prev

m_prev: b2Contact | null = null

m_restitution

m_restitution: number = 0

m_tangentSpeed

m_tangentSpeed: number = 0

m_toi

m_toi: number = 0

m_toiCount

m_toiCount: number = 0

m_toiFlag

m_toiFlag: boolean = false

m_touchingFlag

m_touchingFlag: boolean = false

Static Private ComputeTOI_s_input

ComputeTOI_s_input: b2TOIInput = new b2TOIInput()

Static Private ComputeTOI_s_output

ComputeTOI_s_output: b2TOIOutput = new b2TOIOutput()

Methods

ComputeTOI

  • Parameters

    Returns number

Abstract Evaluate

FlagForFiltering

  • FlagForFiltering(): void
  • Returns void

GetChildIndexA

  • GetChildIndexA(): number
  • Returns number

GetChildIndexB

  • GetChildIndexB(): number
  • Returns number

GetFixtureA

  • Returns b2Fixture

GetFixtureB

  • Returns b2Fixture

GetFriction

  • GetFriction(): number
  • Returns number

GetManifold

  • Returns b2Manifold

GetNext

  • Returns b2Contact | null

GetRestitution

  • GetRestitution(): number
  • Returns number

GetShapeA

  • GetShapeA(): A
  • Returns A

GetShapeB

  • GetShapeB(): B
  • Returns B

GetTangentSpeed

  • GetTangentSpeed(): number
  • Returns number

GetWorldManifold

  • Parameters

    Returns void

IsEnabled

  • IsEnabled(): boolean
  • Returns boolean

IsTouching

  • IsTouching(): boolean
  • Returns boolean

Reset

  • Parameters

    Returns void

ResetFriction

  • ResetFriction(): void
  • Returns void

ResetRestitution

  • ResetRestitution(): void
  • Returns void

SetEnabled

  • SetEnabled(flag: boolean): void
  • Parameters

    • flag: boolean

    Returns void

SetFriction

  • SetFriction(friction: number): void
  • Parameters

    • friction: number

    Returns void

SetRestitution

  • SetRestitution(restitution: number): void
  • Parameters

    • restitution: number

    Returns void

SetTangentSpeed

  • SetTangentSpeed(speed: number): void
  • Parameters

    • speed: number

    Returns void

Update

  • Parameters

    Returns void

Generated using TypeDoc