def fixate(obj): global world sj = ODESliderJoint(body1=obj) sj.lostop = 0 sj.histop = 0 world.add(sj)