MCPcopy Create free account
hub / github.com/DanielChappuis/reactphysics3d / raycast

Method raycast

include/reactphysics3d/engine/PhysicsWorld.h:486–490  ·  view source on GitHub ↗

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 */

Source from the content-addressed store, hash-verified

484 * bodies to be raycasted
485 */
486RP3D_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.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected