collision-2d icon indicating copy to clipboard operation
collision-2d copied to clipboard

2d collision routines

Results 9 collision-2d issues
Sort by recently updated
recently updated
newest added

see https://github.com/noonat/intersect/blob/master/src/intersect.ts#L229-L241

enhancement

a handy hidden function that is buried in the `src/` directory.

documentation

the existing tests are disabled, and there should be more. Some of these tests could be copied from https://github.com/noonat/intersect/tree/master/test

probably could use https://www.gamasutra.com/view/feature/131790/simple_intersection_tests_for_games.php?page=2

bug

Is there any way to implement cone -> sphere and segment overlap system?

cannon.js has a reasonable looking implementation, maybe use this? https://github.com/schteppe/cannon.js/blob/master/src/collision/AABB.js#L288

I feel bad to say that I bounced off this lib for three reasons: Its perfect in concept, but lacks NPM support as far as I can tell. I started...

As I'm moving away from webgl to webgpu in all my other projects, it makes sense to adopt a vector/matrix lib that matches what webgpu expects. https://wgpu-matrix.org/