Dynamically resets an object that is dynamically simulated. This means that the object representation in the dynamics engine is removed, and added again. This can be useful when the set-up of a dynamically simulated chain needs to be modified during simulation (e.g. joint or shape attachement position/orientation changed)


sim.resetDynamicObject(int objectHandle) sim.resetDynamicObject(int objectHandle)


  • objectHandle: handle of the object. Can be combined with sim.handleflag_model, if you wish to reset all objects in a model (where objectHandle would be the model base).