bepu / bepuphysics2

Pure C# 3D real time physics simulation library, now with a higher version number.
Apache License 2.0
2.35k stars 272 forks source link

Consider box-box contact normal plane clipping #43

Closed RossNordby closed 5 years ago

RossNordby commented 6 years ago

Box-box uses ye olde style face clipping on the plane of one of the two faces rather than the contact plane. It doesn't produce results as bad as triangle-box or triangle-triangle would with the same approach thanks to the representative face never being too far away, but it still isn't as good as performing all clipping on the contact normal plane.

Not super high value, but it would marginally improve contact quality and stability on edges near face representative transitions.

RossNordby commented 5 years ago

Done in c2593756bbb41d8a4ec1c619ce2c7a313af3acc1