diff --git a/Code/GamePhysics/Implementation/PhysicsAPI_Impl.cpp b/Code/GamePhysics/Implementation/PhysicsAPI_Impl.cpp index 4c07cc24..a71c58e3 100644 --- a/Code/GamePhysics/Implementation/PhysicsAPI_Impl.cpp +++ b/Code/GamePhysics/Implementation/PhysicsAPI_Impl.cpp @@ -129,8 +129,8 @@ void API_Impl::UpdateWorld() ICustomBody* bodyA = (ICustomBody*)obA->getUserPointer(); ICustomBody* bodyB = (ICustomBody*)obB->getUserPointer(); - dynamic_cast(bodyA)->CallSubsciptMessage(bodyA, bodyB, 0.0f); - dynamic_cast(bodyB)->CallSubsciptMessage(bodyB, bodyA, 0.0f); + //dynamic_cast(bodyA)->CallSubsciptMessage(bodyA, bodyB, 0.0f); + //dynamic_cast(bodyB)->CallSubsciptMessage(bodyB, bodyA, 0.0f); int numContacts = contactManifold->getNumContacts(); for (int j=0;jafterCollision(bodyA, bodyB, kineticEnergyLoss); } btDefaultMotionState* SimpleRigidBody::GetMotionState() const