API Docs for: 1.0.0
Show:

b2World Class

Constructor

b2World

(
  • worldAABB
  • gravity
  • doSleep
)

Parameters:

  • worldAABB B2AABB

    axis aligned bounding box

  • gravity B2Vec2

    gravity force vector

  • doSleep Boolean

    bodies can sleep

Methods

CleanBodyList

()

CreateBody

()

CreateJoint

()

DebugDraw

()

DestroyBody

()

DestroyJoint

()

GetBodyList

()

GetContactList

()

GetGroundBody

()

GetJointList

()

QueryPoint

(
  • callback
  • point
)

Parameters:

  • callback Function
  • point B2Vec2

SetDebugDraw

()

SetFilter

()

SetListener

()

Properties

m_bodyList

Unknown

m_contactList

Unknown

m_jointList

Unknown