2 ms·
I generally port over collision code I wrote years ago. I kind of like it that way. If I'm only doing 2D (and that is about all I have done) I don't really wan
by JKCalhoun 3y ago
I generally port over collision code I wrote years ago. I kind of like it that way.
If I'm only doing 2D (and that is about all I have done) I don't really want/need a general collision framework. Code to detect rectangle collisions, circle-circle collisions, convex polygon collisions is fairly small and tight. Even the polygon collision code uses only simple linear algebra (dot products and such).
To your last point, because I own the code, I can guarantee no OOP ... I just use math.