sim.addForceAdds a non-central force to a shape object that is dynamically enabled. Added forces are cumulative, applied relative to the center of mass, and are reset to zero after sim.handleDynamics was called (or by using the following flag: sim.handleflag_resetforcetorque) Synopsissim.addForce(int shapeHandle, list position, list force)
sim.addForce(int shapeHandle, float[3] position, float[3] force)
Arguments
|