EPhysics: sandbox reduce time resolution

Reduce simulation time resolution to avoid soft body penetration.


Patch by: Leandro Dorileo <dorileo@profusion.mobi>



SVN revision: 79058
devs/devilhorns/wayland_egl
Leandro Dorileo 11 years ago committed by Bruno Dilly
parent d0f93b0aaa
commit 31069a97ce
  1. 1
      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);

Loading…
Cancel
Save