overlapping triangles inside or intersected by AABB
-
- Posts: 1
- Joined: Sat Nov 22, 2008 4:09 am
overlapping triangles inside or intersected by AABB
Is there any way to retrieve overlapping triangles (of a static triangle mesh) inside or intersected by an AABB box? Thank you a lot.
-
- Posts: 109
- Joined: Thu Dec 14, 2006 4:27 pm
- Location: Colombia
Re: overlapping triangles inside or intersected by AABB
Every concave shape derived from btConcaveShape has this method:
Which will give you all triangles intersected by an AABB.
Code: Select all
processAllTriangles(btTriangleCallback* callback,const btVector3& aabbMin,const btVector3& aabbMax)