Page 1 of 1

Quick btTriangleCallback question

Posted: Thu May 10, 2012 11:49 am
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

Re: Quick btTriangleCallback question

Posted: Fri May 11, 2012 3:35 pm
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...