Michael Edwards wrote:
Hmm, did you check in today? It's telling me that my Body objects don't have that attribute:AttributeError: 'Ball' object has no attribute 'linear_velocity' Ball being declared as: class Ball(ode.Body):
Yes, that was checked in just before I sent the reply. Oh, wait... err, I updated, fixed, compiled, and tested, but forgot to check in. It's checked in now!
Also, since I'm the guy who's submitting ode tests ;), I have a problem with this line: self.pin_geom = ode.GeomCCylinder(self, self.space, 1.0, 4.0) where self is an ode.Body. I get this error: TypeError: function takes at most 3 arguments (4 given) So, I poked around in geoms.pyx and it looks like there's no parent parameter in the __new__ method. When I cut out "self" from the call to GeomCCylinder, I got this error: dealloc <GeomCCylinder> Segmentation fault
Thanks for pointing that out. I added the parent parameter to GeomCCylinder and GeomRay and checked in. Do you still get the segfault now?
signature.asc
Description: OpenPGP digital signature
