raphael icon indicating copy to clipboard operation
raphael copied to clipboard

Collision detection

Open cambo2015 opened this issue 2 years ago • 3 comments

Hey I'm wondering how I would implement collision detection and get the x2 y2 of a collision.

cambo2015 avatar Jul 15 '22 15:07 cambo2015

See if something like this helps... https://stackoverflow.com/questions/12550635/how-can-i-improve-on-this-javascript-collision-detection

ibrierley avatar Jul 15 '22 15:07 ibrierley

Thanks. I'll take a look at that.

cambo2015 avatar Jul 15 '22 15:07 cambo2015

Also I'd look at updating to Snap.svg, or SVG.js. Raphael is quite old now, but may still suit.

ibrierley avatar Jul 15 '22 15:07 ibrierley