Sugest: ConvexHullShape with scaling

snowcat
Posts: 9
Joined: Thu Jan 10, 2008 3:53 am

Sugest: ConvexHullShape with scaling

Post by snowcat »

ConvexHullShape's recalcLocalAabb was not called when setLocalScaling(). Why not call that automatic?
User avatar
Erwin Coumans
Site Admin
Posts: 4221
Joined: Sun Jun 26, 2005 6:43 pm
Location: California, USA

Re: Sugest: ConvexHullShape with scaling

Post by Erwin Coumans »

Good point, it has been added to btPolyhedralConvexShape, so both btConvexHullShape and btConvexTriangleMeshShape will use this implementation.

Thanks for the suggestion,
Erwin