Hey, I’m trying to let a larger entity push multiple smaller entities away. I’m using bullet for collision detection, but want to calculate the actual movement myself (because the pushed entities are kinematic characters), so I can’t use the full physics solution given by bullet.
I wanted to use BulletWorld.sweep_test_closest
, but that only returns one single closest result. The bullet API seems to allow passing a callback to determine if more (or all) hits should be processed, but the Panda API doesn’t expose this? Bullet Collision Detection & Physics Library: btCollisionWorld Class Reference
How can I detect multiple intersections with the sweep test?