Log In  

Cart #sat-0 | 2019-02-21 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
1

I tiny little demonstration of the SAT theorem being used for collision detection. Probably isn't perfect, probably is slow, and probably has bugs... but it appears to work at first glance, at least :)

P#62121 2019-02-21 01:39

I didn't know what the SAT was before this and I still don't understand it after looking it up, but I was immediately impressed when I noticed that the collision detection was accurate to the shapes!

P#62153 2019-02-22 08:20 ( Edited 2019-02-22 08:21)
:: verdog

SAT is a fancy mathy way to do collision detection... and yeah, the benefit of SAT is that it works reasonably fast for any convex polygon!

P#62161 2019-02-22 15:17

[Please log in to post a comment]

Follow Lexaloffle:        
Generated 2020-06-06 15:14 | 0.017s | 2097k | Q:35