collision-rs icon indicating copy to clipboard operation
collision-rs copied to clipboard

Intersection semantics

Open Rhuagh opened this issue 8 years ago • 4 comments

We should define what a border hit should do for all intersection tests.

Rhuagh avatar Sep 10 '17 08:09 Rhuagh

One action item to take - see what other libraries are doing. In general, I'm fine with either decision as long as it's consistent ;)

kvark avatar Sep 11 '17 18:09 kvark

Yeah, I tried finding information on this, but my google skills apparently aren't up to the task, and I'm not sure what open libraries there are except for ncollide.

Rhuagh avatar Sep 11 '17 19:09 Rhuagh

ncollide seems to report a hit on border intersections. It's hard to tell ...

Rhuagh avatar Sep 11 '17 20:09 Rhuagh

Related point would be checking the returned values on edge cases. ncollide for example had issues at 0 penetration depth, resulting in bogus normals returned from the hit test.

msiglreith avatar Jan 28 '18 23:01 msiglreith