From: tim r. <bla...@ya...> - 2008-01-22 04:26:57
|
Hi! I've already posted about an issue with tuorial 3,but it seems to be an openGl issue, rather than an Ode issue. Skipping around it, I've decided to use the turorial code anyway, putting the stuff from the tutorial into my own code. Collisions appear to be detected normally, but there is an issue with the callback. I'm not sure where to go, or what direction to search in. The docs at ode.org haven't proven useful in that regard. Please take the time to help me, or at least point me towards help. Here's the exception stuff whenever I fly my ship into the asteroid: Exception exceptions.AttributeError: "'ode.Contact' object has no attribute 'setBound'" in 'ode.collide_callback' ignored Exception exceptions.AttributeError: "'ode.Contact' object has no attribute 'setBound'" in 'ode.collide_callback' ignored Exception exceptions.AttributeError: "'ode.Contact' object has no attribute 'setBound'" in 'ode.collide_callback' ignored It does that every frame until I fly out of it again. Here's my loop code: collideSpace.collide((collideSpace,contactgroup),collideCallback) space.step(clock.get_time()/1000.0) contactgroup.empty() Heres the code that is part of my main loop: -NIm If all else fails: su ******* rm -rf / Windows error: OMFG THERZZ AN ERRROR!!111 WTF??!?!?! Linux error: Hello there, you have an error. Here's a detailed list of what's gone wrong and here's how to fix it. Would you like some coffee? ____________________________________________________________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ |