new version
HERE
jode isn't only for irrlicht, but i create the settings for irrlicht
please see jode.h (option zone )
in version 0.15 alfa i added:
1)ODE object have type
2) function Ode_doing_with_all(function, objects type)
3) debug
if we needed to work with all ode objects, or objects what have the special type, we can shoud use Ode_doing_with_all function
some very simple example:
Code: Select all
// in this function we added force to object in ON (this is object of ODE_obj class)
void add_force(ODE_obj * on)
{
dBodyAddForce(on->body,0,20,0);
}
int main()
{
....
Ode_doing_with_all(All &add_force,1);
....
}
in this code we use function add_force for ALL ode objects what have type = 1
if we use Ode_doing_with_all(All &add_force,0);
... we update ALL object, what have any type
in future i going to doing some model's format
and added some function's to work with ode object's and joints
hovewer , i going to full debug ode objects in irrlicht
ps. newtoon realy sucks
![Smile :)](./images/smilies/icon_smile.gif)