[ODE] Problems reseting an object.

Jason Perkins starkos at gmail.com
Tue Aug 29 07:05:57 MST 2006


On 8/28/06, Nick Featherston <nichaladas at gmail.com> wrote:
> gives me the error
> ODE INTERNAL ERROR 2: invalid operation for geom in locked space in
> dGeomSetPosition()

I'm guessing that you are trying to reset the position while in your
collision callback. The space is locked for the duration of the
collision testing call (dSpaceCollide) and your ability to change
objects is limited. To work around this, do your check for "off the
table" outside of the collision callback.

HTH,

Jason


More information about the ODE mailing list