I have a fast moving kinematic body, can I enable CCD on a kinematic body which will interact with dynamic objects.
I have tried to enable it on this kinematic body but I dont think it is actually working.
setCcdMotionThreshold(1e-7)
setCcdSweptSphereRadius(0.3) (As the kinematic body is a sphere having 0.7 collision extent.)
I checked out the example on CCD physics but it is using a dynamic object and If I make it kinematic it passes through the surface. Here is the project:
To be honest, if it was me, I would start consulting the Bullet source code to see whether the kinematic path ignored or respected the CCD properties of a body. But I can appreciate if you didn’t want to go to all that trouble. However, the very fact that people seem to be reporting that it doesn’t work suggests no such code path exists.