sim.addForceAndTorqueAdds a force and/or torque to a shape object that is dynamically enabled. Forces are applied at the center of mass. Added forces and torques are cumulative, and are reset to zero after sim.handleDynamics was called (or by using the following flags: sim.handleflag_resetforce and/or sim.handleflag_resettorque) Synopsissim.addForceAndTorque(int shapeHandle, list force, list torque)
sim.addForceAndTorque(int shapeHandle, float[3] force, float[3] torque)
Arguments
|