Differential D1739 Diff 5899 extern/bullet2/src/BulletCollision/CollisionDispatch/btCollisionDispatcher.cpp
Changeset View
Changeset View
Standalone View
Standalone View
extern/bullet2/src/BulletCollision/CollisionDispatch/btCollisionDispatcher.cpp
| Show First 20 Lines • Show All 183 Lines • ▼ Show 20 Lines | if (body0->isStaticOrKinematicObject() && body1->isStaticOrKinematicObject()) | ||||
| m_dispatcherFlags |= btCollisionDispatcher::CD_STATIC_STATIC_REPORTED; | m_dispatcherFlags |= btCollisionDispatcher::CD_STATIC_STATIC_REPORTED; | ||||
| printf("warning btCollisionDispatcher::needsCollision: static-static collision!\n"); | printf("warning btCollisionDispatcher::needsCollision: static-static collision!\n"); | ||||
| } | } | ||||
| } | } | ||||
| #endif //BT_DEBUG | #endif //BT_DEBUG | ||||
| if ((!body0->isActive()) && (!body1->isActive())) | if ((!body0->isActive()) && (!body1->isActive())) | ||||
| needsCollision = false; | needsCollision = false; | ||||
| else if (!body0->checkCollideWith(body1)) | else if ((!body0->checkCollideWith(body1)) || (!body1->checkCollideWith(body0))) | ||||
| needsCollision = false; | needsCollision = false; | ||||
| return needsCollision ; | return needsCollision ; | ||||
| } | } | ||||
| ▲ Show 20 Lines • Show All 114 Lines • Show Last 20 Lines | |||||