IT FUCKING WORKS (collision resolution is now working)

This commit is contained in:
Sara 2023-10-18 13:21:02 +02:00
parent 74369d88fe
commit ed274c415f
3 changed files with 20 additions and 15 deletions

View file

@ -41,7 +41,7 @@ void player_start(Player* self) {
float ex_w = 0.1f;
float h = .75f;
float r = 0.05f;
float rr = (r/3)*2;
float rr = r;
self->shape = shape_new((Vector[]){
{r-ex_w, 0.f}, {-ex_w, -rr},