Difference between revisions of "B2"
Line 6: | Line 6: | ||
To load the Box2D library, call `require "box2d"`. After loading Box2D library, `b2` table stores all <br /> | To load the Box2D library, call `require "box2d"`. After loading Box2D library, `b2` table stores all <br /> | ||
classes and functions related to Box2D physics library. <br /> | classes and functions related to Box2D physics library. <br /> | ||
− | <br />{|- | + | <br /> |
+ | {|- | ||
| style="width: 50%;"| | | style="width: 50%;"| | ||
=== Methods === | === Methods === |
Revision as of 10:04, 23 August 2018
Supported platforms: android, ios, mac, pc
Available since: Gideros 2011.6
Description
To load the Box2D library, call `require "box2d"`. After loading Box2D library, `b2` table stores all
classes and functions related to Box2D physics library.
Methodsb2.createDistanceJointDef - creates and returns a distance joint definition table |
EventsConstantsb2.DISTANCE_JOINT |