forked from enlightenment/efl
EPhysics: sandbox reduce time resolution
Reduce simulation time resolution to avoid soft body penetration. Patch by: Leandro Dorileo <dorileo@profusion.mobi> SVN revision: 79058
This commit is contained in:
parent
d0f93b0aaa
commit
31069a97ce
|
@ -967,6 +967,7 @@ elm_main()
|
||||||
evas_object_show(win);
|
evas_object_show(win);
|
||||||
|
|
||||||
world = ephysics_world_new();
|
world = ephysics_world_new();
|
||||||
|
ephysics_world_simulation_set(world, 1/100.f, 10);
|
||||||
ephysics_world_render_geometry_set(world, 80, 80, -50,
|
ephysics_world_render_geometry_set(world, 80, 80, -50,
|
||||||
(int) WIDTH * 0.7 - 160, HEIGHT - 160,
|
(int) WIDTH * 0.7 - 160, HEIGHT - 160,
|
||||||
DEPTH);
|
DEPTH);
|
||||||
|
|
Loading…
Reference in New Issue