Ray cast method * @param ray Ray to use for raycasting * @param raycastCallback Pointer to the class with the callback method * @param raycastWithCategoryMaskBits Bits mask corresponding to the category of * bodies to be raycasted */
| 484 | * bodies to be raycasted |
| 485 | */ |
| 486 | RP3D_FORCE_INLINE void PhysicsWorld::raycast(const Ray& ray, |
| 487 | RaycastCallback* raycastCallback, |
| 488 | unsigned short raycastWithCategoryMaskBits) const { |
| 489 | mCollisionDetection.raycast(raycastCallback, ray, raycastWithCategoryMaskBits); |
| 490 | } |
| 491 | |
| 492 | // Test collision and report contacts between two bodies. |
| 493 | /// Use this method if you only want to get all the contacts between two bodies. |
nothing calls this directly
no outgoing calls
no test coverage detected