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
6.72k stars 447 forks source link

Prevent div by zero in Body::GetBodyCreationSettings #919

Closed jrouwe closed 9 months ago

jrouwe commented 9 months ago

This could happen when the allowed DOFs were restricted

Fixes #915

sonarcloud[bot] commented 9 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues

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

See analysis details on SonarCloud