You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-08 12:40:44 +00:00
Update to bullet master (2.90)
This commit is contained in:
@@ -800,6 +800,14 @@ public:
|
||||
///don't do CCD when the collision filters are not matching
|
||||
if (!ClosestConvexResultCallback::needsCollision(proxy0))
|
||||
return false;
|
||||
if (m_pairCache->getOverlapFilterCallback()) {
|
||||
btBroadphaseProxy* proxy1 = m_me->getBroadphaseHandle();
|
||||
bool collides = m_pairCache->needsBroadphaseCollision(proxy0, proxy1);
|
||||
if (!collides)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
btCollisionObject* otherObj = (btCollisionObject*)proxy0->m_clientObject;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user