I have a b2Body where I have bullet enabled. When using it though, it will tunnel right through other b2Bodys at high speeds. Any suggestions?
Tunneling?
General DiscussionI don't have an answer to your question, but I imagine that providing the following info will make it a little easier for others to provide feedback:
1. What are the types of the bodies involved (i.e. static, dynamic, kinematic)?
2. Is continuous collision detection enabled overall?
1. What are the types of the bodies involved (i.e. static, dynamic, kinematic)?
2. Is continuous collision detection enabled overall?
Even if everything is setup correctly, you may still get tunneling with bullets. Bullets only work reliably against slow moving bodies. I plan to improve this in the future.
My body is a dynamic body, and I thought that continuous collision detection was enabled by default? Because I sure haven't set a variable to set continuous collision detection. Is there a way that I would go about capping the speed at which my body moves?
Thanks
Thanks
Continuous collision is only enable by default for dynamic vs static.
Original thread: https://box2d.org/forum/viewtopic.php?t=5025