Do physic simulation in Blender (can find lots of tutorials in YouTube) then export it to .obj while checking “Animation” option . It exports each frame as an .obj file. Then in JME load all of them as an Array of Mesh and save it on main model like
geometry.setUserData("SoftBody", meshArray) ;//Array of keyframes
and update mesh data each frame on main model. like:
geometry.setMesh(meshArray[i]) ;// i is frame number
after saving mesh data you can remove all .obj files.
5 Likes