Version: beta
FUNCTIONS | |
---|---|
b2d.get_body() | Get the Box2D body from a collision object |
b2d.get_world() | Get the Box2D world from the current collection |
b2d.get_body(url)
Get the Box2D body from a collision object
PARAMETERS
url |
string, hash, url |
the url to the game object collision component |
RETURNS
body |
b2Body | the body if successful. Otherwise nil . |
b2d.get_world()
Get the Box2D world from the current collection
PARAMETERS
None
RETURNS
world |
b2World | the world if successful. Otherwise nil . |