simAddForceAndTorqueAdds 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) C++ synopsisint simAddForceAndTorque(int shapeHandle, const double* force, const double* torque)
Arguments
Return
|