From 31069a97ce08c29d9ba6e52997571cf341a270fa Mon Sep 17 00:00:00 2001 From: Leandro Dorileo Date: Fri, 9 Nov 2012 18:58:57 +0000 Subject: [PATCH] EPhysics: sandbox reduce time resolution Reduce simulation time resolution to avoid soft body penetration. Patch by: Leandro Dorileo SVN revision: 79058 --- legacy/ephysics/src/bin/ephysics_sandbox.c | 1 + 1 file changed, 1 insertion(+) diff --git a/legacy/ephysics/src/bin/ephysics_sandbox.c b/legacy/ephysics/src/bin/ephysics_sandbox.c index e9f13ffbab..4d1a4e64b7 100644 --- a/legacy/ephysics/src/bin/ephysics_sandbox.c +++ b/legacy/ephysics/src/bin/ephysics_sandbox.c @@ -967,6 +967,7 @@ elm_main() evas_object_show(win); world = ephysics_world_new(); + ephysics_world_simulation_set(world, 1/100.f, 10); ephysics_world_render_geometry_set(world, 80, 80, -50, (int) WIDTH * 0.7 - 160, HEIGHT - 160, DEPTH);