Fix crash when RigidBody2D is moved while having poststeps
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user