experimenting

This commit is contained in:
Seth Alves 2015-04-22 13:21:06 -07:00
parent 7382b0b19f
commit 27ed0c4a98

View file

@ -405,7 +405,9 @@ void PhysicsEngine::computeCollisionEvents() {
entityA->setShouldClaimSimulationOwnership(true);
}
if (entityA && entityB) {
if (entityA && entityB &&
!objectA->isStaticOrKinematicObject() &&
!objectB->isStaticOrKinematicObject()) {
if (entityA->getShouldClaimSimulationOwnership()) {
entityB->setShouldClaimSimulationOwnership(true);
}