Called when a overlapping node has been found during the call to DynamicAABBTree:reportAllShapesOverlappingWithAABB()
| 221 | // Called when a overlapping node has been found during the call to |
| 222 | // DynamicAABBTree:reportAllShapesOverlappingWithAABB() |
| 223 | void AABBOverlapCallback::notifyOverlappingNode(int nodeId) { |
| 224 | mOverlappingNodes.add(nodeId); |
| 225 | } |
| 226 | |
| 227 | // Called for a broad-phase shape that has to be tested for raycast |
| 228 | decimal BroadPhaseRaycastCallback::raycastBroadPhaseShape(int32 nodeId, const Ray& ray) { |