Fix crash when RigidBody2D is moved while having poststeps

This commit is contained in:
Lynix
2017-03-09 18:20:18 +01:00
parent 4ea43e0b0b
commit cdf7c11ef8
4 changed files with 11 additions and 12 deletions

View File

@@ -92,7 +92,6 @@ namespace Ndk
{
// Kill rigid body before entity destruction to force contact callbacks to be called while the entity is still valid
m_object.reset();
}
ComponentIndex PhysicsComponent3D::componentIndex;