pmndrs / p2-es

JavaScript 2D physics library
https://p2-es.pmnd.rs
Other
123 stars 11 forks source link

Issue with CCD and sensor shapes #160

Open FeeshDev opened 7 months ago

FeeshDev commented 7 months ago

Setting ccdSpeedThreshold = 0 on a body and then making one of the shapes into a sensor makes the shape collide as if it didn't have sensor = true. The easiest fix I could find is checking for the sensor at integrateToTimeOfImpact but I'm unsure if that has other major implications. This is an issue originating from p2, hoping it can be fixed.