Options
All
  • Public
  • Public/Protected
  • All
Menu

Class b2Island

Hierarchy

  • b2Island

Index

Properties

Readonly m_bodies

m_bodies: b2Body[] = [/*1024*/]

m_bodyCapacity

m_bodyCapacity: number = 0

m_bodyCount

m_bodyCount: number = 0

m_contactCapacity

m_contactCapacity: number = 0

m_contactCount

m_contactCount: number = 0

Readonly m_contacts

m_contacts: b2Contact[] = [/*1024*/]

m_jointCapacity

m_jointCapacity: number = 0

m_jointCount

m_jointCount: number = 0

Readonly m_joints

m_joints: b2Joint[] = [/*1024*/]

m_listener

m_listener: b2ContactListener

Readonly m_positions

m_positions: b2Position[] = b2Position.MakeArray(1024)

Readonly m_velocities

m_velocities: b2Velocity[] = b2Velocity.MakeArray(1024)

Static Private s_contactSolver

s_contactSolver: b2ContactSolver = new b2ContactSolver()

Static Private s_contactSolverDef

s_contactSolverDef: b2ContactSolverDef = new b2ContactSolverDef()

Static Private s_impulse

s_impulse: b2ContactImpulse = new b2ContactImpulse()

Static Private s_solverData

s_solverData: b2SolverData = new b2SolverData()

Static Private s_timer

s_timer: b2Timer = new b2Timer()

Static Private s_translation

s_translation: b2Vec2 = new b2Vec2()

Methods

AddBody

  • Parameters

    Returns void

AddContact

  • Parameters

    Returns void

AddJoint

  • Parameters

    Returns void

Clear

  • Clear(): void
  • Returns void

Initialize

  • Initialize(bodyCapacity: number, contactCapacity: number, jointCapacity: number, listener: b2ContactListener): void
  • Parameters

    • bodyCapacity: number
    • contactCapacity: number
    • jointCapacity: number
    • listener: b2ContactListener

    Returns void

Report

  • Parameters

    Returns void

Solve

  • Parameters

    Returns void

SolveTOI

  • SolveTOI(subStep: b2TimeStep, toiIndexA: number, toiIndexB: number): void
  • Parameters

    • subStep: b2TimeStep
    • toiIndexA: number
    • toiIndexB: number

    Returns void

Generated using TypeDoc