Hi,
im using ccd for my project. But i have a problem. If i use box collision shape ccd is work. otherwise if use compound collision shape ccd isn't work. How can i solve this problem.
Thanks.
CCD for compound shapes
-
- Posts: 43
- Joined: Sat May 26, 2012 1:09 am
Re: CCD for compound shapes
CCD is not performed if the shape is not convex. In order to have CCD for compound
shapes, you would have to manually implement it by calculating the position/orientation
of each sub-shape in the compound shape and using btDiscreteDynamicsWorld::convexSweepTest()
or btDiscreteDynamicsWorld::rayTest() to detect collisions.
shapes, you would have to manually implement it by calculating the position/orientation
of each sub-shape in the compound shape and using btDiscreteDynamicsWorld::convexSweepTest()
or btDiscreteDynamicsWorld::rayTest() to detect collisions.