Added return true o collide when no rusult is NULL

This commit is contained in:
Andrea Catania 2018-02-14 08:18:48 +01:00
parent 8cfe798877
commit f48845428d
1 changed files with 2 additions and 0 deletions

View File

@ -979,6 +979,8 @@ bool SpaceBullet::test_body_motion(RigidBodyBullet *p_body, const Transform &p_f
} else {
if (!l_has_penetration)
break;
else
has_penetration = true;
}
}
}