From: Joschka B. <jos...@am...> - 2008-03-24 17:24:32
|
Hi Sander, On Mar 25, 2008, at 1:32 AM, Sander van Dijk wrote: > [...] > > On Mon, Mar 24, 2008 at 3:54 PM, Joschka Boedecker <jos...@am... > > wrote: > ODE INTERNAL ERROR 2: The centre of mass must be at the origin. in > dBodySetMass() > (Core) caught signal 6 > (Core) exit > > Does anybody know what could cause this? I had this running without > problems before. > > Again I don't get this problem.. And indeed weird that you get this > now all of a sudden. Could you try adding the following after line > 280 of lib/oxygen/physicsserver/body.ccp: > > bodyMass.c[0] = bodyMass.c[1] = bodyMass.c[2] = 0; > > If it's due to rounding errors this should help. I just tried and it worked like a charm :-) I already committed the changes to the repository. Thanks a lot! Cheers, Joschka |