sim.getShapeMass
Retrieves the mass of a shape
Synopsis
float mass = sim.getShapeMass(int shapeHandle)
float mass = sim.getShapeMass(int shapeHandle)
Arguments
shapeHandle
: handle of the
shape object
Return values
mass
: mass of the shape
See also:
sim.setShapeMass
sim.getShapeInertia
sim.computeMassAndInertia