sim.setShapeMass

Applies a new mass value to a shape. If simulation is running, the shape is dynamically reset (similar to calling sim.resetDynamicObject right after)

Synopsis

sim.setShapeMass(int shapeHandle, float mass) sim.setShapeMass(int shapeHandle, float mass)

Arguments

  • shapeHandle: handle of the shape object
  • mass: new mass of the shape


See also: