From 98c7f97c43f7252bd93bf3a0641b26dbe4829662 Mon Sep 17 00:00:00 2001 From: Sara Date: Mon, 13 Nov 2023 21:45:56 +0100 Subject: [PATCH] halved physics solve iterations to 50 with no clear change --- src/physics_entity.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/physics_entity.c b/src/physics_entity.c index a35a866..5b7b45d 100644 --- a/src/physics_entity.c +++ b/src/physics_entity.c @@ -53,7 +53,7 @@ void physics_entity_solve_contacts(PhysicsEntity self, List* contacts) { // attempt to solve constraints int done; - for(size_t iteration = 100; iteration != 0; --iteration) { + for(size_t iteration = 50; iteration != 0; --iteration) { done = 1; list_foreach(Contact*, contact, contacts) { if(!_internal_default_contact_solver(body, contact, pre_solve))