Commit Graph

9 Commits

Author SHA1 Message Date
rdb 9ad4e4586c collide: Use correct intersection point for sphere into poly
Previously, the reported surface and intersection points could be outside the polygon if the sphere was colliding with the edge.

Fixes #907
2020-05-05 16:52:21 +02:00
hecris 674c9fdee9 collide: implement box into capsule
Closes #675
2019-08-02 19:14:58 +02:00
hecris 563ff75c2f collide: implement check from parabola into inverse sphere 2019-06-20 19:33:42 +02:00
hecris 47f39809ee collide: add collision test for parabola into box
Closes #664
2019-06-07 22:21:27 +02:00
Jerome 66ea0471a0 tests: Add unit test for CollisionRay into CollisionBox
Closes #613
2019-04-09 13:50:04 +02:00
hecris ac451d79ef tests: add more collision unit tests
Closes #609
2019-04-09 13:44:20 +02:00
rdb e0d6e07a93 tests: add capsule-into-sphere and segment-into-sphere tests 2019-03-29 13:45:06 +01:00
hecris 2d9079713b tests: add collision tests
Closes #583
2019-03-29 12:15:08 +01:00
rdb bd6ef2b0ea Rename CollisionTube to CollisionCapsule (bam 6.44)
Adds ability to register "obsolete" names for certain types under older .bam versions, so that we are still able to write out old .bam files.

Fixes #347
2018-12-23 22:28:06 +01:00