mirror of
https://github.com/love2d/love.git
synced 2026-08-17 02:58:31 +02:00
Added Contact:getFixtures and Body:getContactList (see issue #905).
The list of Contacts associated with bodies changes during World:update (potentially multiple times), so you might miss collisions if you don't use the World callbacks at all.
This commit is contained in:
@@ -47,6 +47,7 @@ int w_Contact_resetRestitution(lua_State *L);
|
||||
int w_Contact_setTangentSpeed(lua_State *L);
|
||||
int w_Contact_getTangentSpeed(lua_State *L);
|
||||
int w_Contact_getChildren(lua_State *L);
|
||||
int w_Contact_getFixtures(lua_State *L);
|
||||
extern "C" int luaopen_contact(lua_State *L);
|
||||
|
||||
} // box2d
|
||||
|
||||
Reference in New Issue
Block a user