Added return true o collide when no rusult is NULL
(cherry picked from commit f48845428d
)
This commit is contained in:
parent
9fb843db06
commit
285f47f037
|
@ -979,6 +979,8 @@ bool SpaceBullet::test_body_motion(RigidBodyBullet *p_body, const Transform &p_f
|
||||||
} else {
|
} else {
|
||||||
if (!l_has_penetration)
|
if (!l_has_penetration)
|
||||||
break;
|
break;
|
||||||
|
else
|
||||||
|
has_penetration = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue