Commit graph

21 commits

Author SHA1 Message Date
Sara 5ab93d62ad new build system config 2023-11-20 12:04:55 +01:00
Sara 552f296b5d removed some unneeded includes 2023-11-11 23:28:30 +01:00
Sara 65ee914e52 removed extranious player.h include from collision.c 2023-11-07 20:40:38 +01:00
Sara 5408ac3ad0 newline at the end of the file 2023-11-01 23:00:58 +01:00
Sara 26bb95f6c5 now using new signature for externally exposed collision_invert 2023-11-01 23:00:53 +01:00
Sara af0a2bfa33 removed old range comparison 2023-11-01 23:00:32 +01:00
Sara b65cba928b collision_invert is now externally visible 2023-11-01 23:00:09 +01:00
Sara 4438070170 reworked _internal_collision_overlap to be more verbose 2023-11-01 22:59:48 +01:00
Sara 22709234cd reworked overlap range so that it now detects 'inverse' collisions 2023-11-01 22:59:12 +01:00
Sara 3e6ee52d3e moved "no collision" in _internal_collision_get_overlap 2023-10-25 20:24:00 +02:00
Sara 46602abbae inverted incorrectly oriented comparison in collision_check 2023-10-25 20:23:28 +02:00
Sara e86fa1bdef implemented collision constraint solver 2023-10-24 23:14:30 +02:00
Sara f373fada26 added custom collision solvers 2023-10-22 11:25:44 +02:00
Sara b8ae02109a collision relative velocity is now calculated in one line 2023-10-19 13:50:35 +02:00
Sara 37b1fc3228 implemented velocity verlet integration 2023-10-18 22:51:56 +02:00
Sara 19daff6ddd using better method to decide whether or not a collision is valid 2023-10-18 13:49:41 +02:00
Sara ed274c415f IT FUCKING WORKS (collision resolution is now working) 2023-10-18 13:21:02 +02:00
Sara 74369d88fe more debugging for collision sovler 2023-10-17 17:17:16 +02:00
Sara c7e6b2aa29 progress on physics 2023-10-16 21:31:48 +02:00
Sara b7721baeb7 collision_check will now return 1 if there is a collision, and write collision data to the new out variables 2023-10-07 22:58:15 +02:00
Sara 59f6c7d1ee moved shape overlap code to collision.c 2023-10-07 18:42:38 +02:00