Convex hull gap

User avatar
frca
Posts: 39
Joined: Sat May 02, 2009 9:38 am

Convex hull gap

Post by frca »

Bullet Physics Manual 2.76 wrote:For convex hulls, cylinders and cones, the
margin is added to the extents of the object, so a gap will occur, unless you adjust the graphics mesh
or collision size. For convex hull objects, there is a method to remove the gap introduced by the
margin, by shrinking the object. See the Demos/BspDemo for this advanced use.
I haven't found mentioned method shrinking the hull in the demo's sources. Could someone please provide the actual line from the sources doing it so I can find it easier?
Thanks.
sparkprime
Posts: 508
Joined: Fri May 30, 2008 2:51 am
Location: Ossining, New York

Re: Convex hull gap

Post by sparkprime »