Hello,
I need CCD so I perform a convexSweepTest (setCcdMotionThreshold and setCcdSweptSphereRadius don't seem to work).
With convexSweepTest I successfully detect the collision, now my question is how do I add this collision to bullet so it will solve it as if it were any other normal collision?
How to add collision from convex sweep test to bullet solver
-
- Posts: 3
- Joined: Sat Sep 29, 2012 10:49 pm
-
- Site Admin
- Posts: 4221
- Joined: Sun Jun 26, 2005 6:43 pm
- Location: California, USA
Re: How to add collision from convex sweep test to bullet so
Can you try out the latest Bullet trunk? It adds the collisions/contact points from the convex sweep test (when using setCcdMotionThreshold and setCcdSweptSphereRadius) to the constraint solver.
-
- Posts: 3
- Joined: Sat Sep 29, 2012 10:49 pm
Re: How to add collision from convex sweep test to bullet so
It works with the new version, thought it was actually my fault because I forced a new position and velocity on the rigid body.