ReactPhysics3D  v0.10.2
C++ Physics engine library
Loading...
Searching...
No Matches
reactphysics3d::ConcaveMeshRaycastCallback Class Reference

Class ConcaveMeshRaycastCallback. More...

#include <include/reactphysics3d/collision/shapes/ConcaveMeshShape.h>

Inheritance diagram for reactphysics3d::ConcaveMeshRaycastCallback:
reactphysics3d::DynamicAABBTreeRaycastCallback

Public Member Functions

 ConcaveMeshRaycastCallback (const ConcaveMeshShape &concaveMeshShape, Collider *collider, RaycastInfo &raycastInfo, const Ray &ray, MemoryAllocator &allocator)
 
virtual decimal raycastBroadPhaseShape (int32 nodeId, const Ray &ray) override
 Collect all the AABB nodes that are hit by the ray in the Dynamic AABB Tree.
 
void raycastTriangles ()
 Raycast all collision shapes that have been collected.
 
bool getIsHit () const
 Return true if a raycast hit has been found.
 

Detailed Description

Member Function Documentation

◆ raycastBroadPhaseShape()

decimal ConcaveMeshRaycastCallback::raycastBroadPhaseShape ( int32  nodeId,
const Ray ray 
)
overridevirtual

Collect all the AABB nodes that are hit by the ray in the Dynamic AABB Tree.

Implements reactphysics3d::DynamicAABBTreeRaycastCallback.


The documentation for this class was generated from the following files: