Difference between revisions of "B2"
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
− | '''<translate>Supported platforms</translate>:''' [[File:Platform android]][[File:Platform ios]][[File:Platform mac]][[File:Platform pc]]<br/> | + | '''<translate>Supported platforms</translate>:''' [[File:Platform android.png]][[File:Platform ios.png]][[File:Platform mac.png]][[File:Platform pc.png]]<br/> |
'''<translate>Available since</translate>:''' Gideros 2011.6<br/> | '''<translate>Available since</translate>:''' Gideros 2011.6<br/> | ||
=== <translate>Description</translate> === | === <translate>Description</translate> === | ||
<translate><br /> | <translate><br /> | ||
− | To load the Box2D library, call | + | To load the Box2D library, call ''require "box2d"''. After loading Box2D library, [[Special:MyLanguage/b2|b2]] table stores all <br /> |
classes and functions related to Box2D physics library. <br /> | classes and functions related to Box2D physics library. <br /> | ||
<br /></translate> | <br /></translate> |
Revision as of 09:35, 24 August 2018
Supported platforms:
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 |