3 ms·
Simple 2D collision detection in JavaScript
- bkyan 15y agoGreat timing! :) I was just about to write a collision detection function for a project I'm working on, and your post showed up. Thanks!
- twiceaday 15y agoI think adding the humble polygon would make this infinitely more useful.
- jostmey 15y agoI wish I had the time to add polygons to the library. That said, you can create composite shapes.