Crafting Deformable Volumes in Ammo.js: Using btSoftBodyHelpers and btTransform
The Ammo.btSoftBodyHelpers constructor creates an auxiliary object for generating soft body shapes from meshes. It accepts no arguments and exposes the method CreateFromTriMesh(worldInfo, vertexArray, indexArray, indexCount, randomizeConstraints) which builds a soft body from triangle data. Paramete...