README for ODE to Torquescript API Voodoo


1) You are expected to have read the ODE documentation,
    available at http://ode.org

2) You are still expected to have read the ODE documentation,
    available at http://ode.org

3) Even though it's 96 pages long, you are expected to have read
    the ODE documentation, available at http://ode.org

4) Anything else, this project is too early in development to
    expect much, but feel free to contact me

As a whole, the API is a "t" [for Torque] prefix on the normal ODE
functions, and converted to think in terms of objects rather than
functions;

C:
dBodyID b = dBodyCreate(world);
dBodySetLinearVel(b, x, y, z);

TorqueScsript:
$b = new tdBody() { worldsim = $odeworld; } ;
$b.SetLinearVel(x,y,z);


Add all the .cc files in odescript/ to your build, and remember to link
with ODE. No other source modifications necessary.


Chunky (-;
<chunky@icculus.org>
http://icculus.org/~chunky/
