Hello all. I'm using ODE 0.5 and PyODE-1.0.0.
I'm getting a crash when trying to limit geom collisions with
setCategoryBits and setCollisionBits.
The following code reproduces:
import ode
space = ode.Space()
geom = ode.GeomSphere(space, radius=0.5)
geom.setCategoryBits(1)
I get back:
Traceback (most recent call last):
File "minimum.py", line 7, in ?
geom.setCategoryBits(1)
File "geomobject.pyx", line 234, in ode.GeomObject.setCategoryBits
SystemError: Objects/longobject.c:240: bad argument to internal function
Any idea what gives? I looked at the pyrex source for geomobject.pyx
and didn't see anything obvious wrong.
Thanks,
Alan
|