From: Matthias B. <ba...@ir...> - 2006-04-13 14:05:12
|
David Simon wrote: > I see from reading the list archives that a number of > people are adding a simple patch to their PyODE trees > to access the collide2 function. Is there any > particular reason this isn't a part of the main PyODE > distribution? Other than that I have been too busy adding it yet? No. I've just committed the change, so collide2() is available now. (note that SF still has problems with their cvs service and anonymous cvs is currently disabled, so you might have to wait some more days until you see that change). > Secondly, is there a way of removing a Body from a > World, ala C++ ODE's dBodyDestroy function? Well, the problem is that dBodyDestroy does not only remove the body from a world but it also destroys the body object. The function is called in the destructor of the Body object so it might get called when you delete all references to your body. As far as I know there is no ODE function that only removes the body from the world without destroying the body object. - Matthias - |