Page 1 of 1

Scaled collision shapes

Posted: Mon May 24, 2021 5:36 pm
by tksuoran@gmail.com
It seems that in order to reuse a collision shape in multiple rigid bodies, they all must use the same scaling, because scaling is in collision shape and not in rigid body. Would it work to have collision shape scaling in rigid body instead? That would allow using same collision shape in scaled rigid bodies.

Re: Scaled collision shapes

Posted: Mon Jun 07, 2021 2:50 pm
by tksuoran@gmail.com
I used btUniformScalingShape to wrap btConvexShape collision shapes, which adds ability to create scaled versions of them. For more other collision shapes I create new copies for each unique scale.