jrouwe / JoltPhysics

A multi core friendly rigid body physics and collision detection library. Written in C++. Suitable for games and VR applications. Used by Horizon Forbidden West.
MIT License
6k stars 374 forks source link

Improved enhanced active edge detection #1162

Closed jrouwe closed 2 weeks ago

jrouwe commented 2 weeks ago

Turning off the cached active edge flags when enhanced active edge detection is on. A collision with an inactive edge will result in its normal being aligned with the face. This means it is not properly filtered out by the enhanced active edge detection algorithm and can cause an incorrect simulation.

See #1155

sonarcloud[bot] commented 2 weeks ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
87.5% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud