simComputeMassAndInertiaComputes and applies the mass and inertia matrix for a shape, based on its convex representation. When calling this function while the simulation is running, one should then call sim.resetDynamicObject, for the changes to take effect C++ synopsisint simComputeMassAndInertia(int shapeHandle, double density))
Arguments
Return
|