ODE physics
authorparasti <parasti@78b8d119-cf0a-0410-b17c-f493084dd1d7>
Mon, 11 Jan 2010 21:14:19 +0000 (21:14 +0000)
committerparasti <parasti@78b8d119-cf0a-0410-b17c-f493084dd1d7>
Mon, 11 Jan 2010 21:14:19 +0000 (21:14 +0000)
commita9481e0fefedf34cd46b49ca4ea2f0771905428b
treea16cf81c9029eaf3c6231b4b49246d75433c6cd4
parentb42f791b81639cf8f434ef8b8e2862b59764504b
ODE physics

Disabled by default for now, enabled by compiling with "make
ENABLE_ODE=1".

Minimum ODE version is 0.11 due to use of kinematic bodies, but up to
the current version (which is 0.11.1) ODE also contains some sloppy
convex geom collision detection, so a patched version of ODE 0.11.1 is
available from

    http://github.com/parasti/ode/archives/master

Basically, no other ODE version will do.  Compile with "./configure
--enable-shared; make", install as usual.

Off the top of my head, things that don't work yet (and hopefully can
be made to):

 * Neverputt friction; Putt is pretty much broken.
 * Ball pendulums.
 * Displayed platform motion is out of sync with the simulation.
 * Bounces that land on the seams between lumps are not behaving well
   This is especially bad on curved surfaces, the ball's trajectory
   can be totally disrupted out of nowhere.  Cause might be solved in
   ODE code again.

git-svn-id: https://s.snth.net/svn/neverball/trunk@3119 78b8d119-cf0a-0410-b17c-f493084dd1d7
16 files changed:
Makefile
ball/game_server.c
putt/game.c
share/mapc.c
share/solid.c
share/solid.h
share/solid_all.c [new file with mode: 0644]
share/solid_all.h [new file with mode: 0644]
share/solid_cmd.c [new file with mode: 0644]
share/solid_cmd.h [new file with mode: 0644]
share/solid_gl.c
share/solid_phys.c [deleted file]
share/solid_phys.h [deleted file]
share/solid_sim.h [new file with mode: 0644]
share/solid_sim_ode.c [new file with mode: 0644]
share/solid_sim_sol.c [new file with mode: 0644]