From: Matthias B. <ba...@ir...> - 2005-06-06 13:07:03
|
Chris Bainbridge wrote: >>>>s.getBody() > > <ode.Body object at 0xa7c506ec> Non-placeable geoms always returned the ode.environment dummy Body (this is a PyODE Body class without an underlying ODE dBody. That's why it crashed when you actually tried to access the ODE body). I've changed this so that there is no dummy Body anymore. ode.environment still exists, but it simply holds None. Calling getBody() on a Space will now return None instead of an empty Body. Creating an empty Body class is not possible anymore, now you must pass a World object. I've also modified the attach() method of the joints as was suggested a while ago. It's now ok to pass None as one of the arguments. > Also, it would be nice to be able to iterate over a space in a more > python-like way, say: Agreed and done. :) It's all in cvs... - Matthias - |