mirror of
https://github.com/love2d/love.git
synced 2026-08-15 15:51:12 +02:00
Use Box2D's callbacks for destruction of physics objects and wait until the end of the timestep before destroying them.
Merge of box2d-id2 from love-experiments
This commit is contained in:
@@ -44,8 +44,6 @@ namespace box2d
|
||||
|
||||
PulleyJoint::~PulleyJoint()
|
||||
{
|
||||
destroyJoint(joint);
|
||||
joint = 0;
|
||||
}
|
||||
|
||||
int PulleyJoint::getGroundAnchors(lua_State * L)
|
||||
|
||||
Reference in New Issue
Block a user