Quick btTriangleCallback question

dwilliamson
Posts: 6
Joined: Fri Oct 07, 2011 2:41 pm
Location: Brighton, UK

Quick btTriangleCallback question

Post by dwilliamson »

Hi,

I'm building collision data generated from a distance field by deriving from btConcaveShape, hence no triangles exist in the input data. Do I have to provide specific values for partId and triangleIndex in processTriangle or can I just assign them zero when I generate my triangles?

Cheers,
- Don
dwilliamson
Posts: 6
Joined: Fri Oct 07, 2011 2:41 pm
Location: Brighton, UK

Re: Quick btTriangleCallback question

Post by dwilliamson »

Doesn't seem to matter, beyond being usable in the callback functions for physics materials. However, I'm pulling that information directly from the distance field so all is good.

For now...