[ODE] ANN: New version of pyODE and 3rd tutorial

Paul Rudin paul.rudin at ntlworld.com
Tue Jun 17 23:00:02 2003


Matthias Baas <baas@ira.uka.de> writes:


> I've just uploaded a new version of pyODE and the third tutorial about
> collision detection:


I get an error running the third tutorial:


Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "/usr/tmp/python-1138Y1_", line 4, in ?
    import tutorial3
  File "tutorial3.py", line 217, in ?
    drop_object()
  File "tutorial3.py", line 107, in drop_object
    body = create_box(world, space, 1000, 1.0,0.2,0.2)
  File "tutorial3.py", line 92, in create_box
    body.shape = "box"
AttributeError: 'ode.Body' object has no attribute 'shape'

I guess I must have a different version of something somewhere?