I have either simple or complex soft body object, collision plane and run simulation in bge(recording is turned on). What i get is recorded animation containing transformations only. Mesh deforms during simulation- squeeze and stretch, has hull around, but does not record deformations. What would be solution?(tried latest release and older as well, probably have bad setup but can`t figure it out)
You can write a BGE script that reads the vertex positions from the mesh.
Store this positions in a way that you can match them with the vertices of the according Blender object.
When you run the BGE embedded you can access Blender (bpy) while your game session is running. Be aware changes will apply AFTER the game session ended.
Therefore I suggest:
- read the BGE mesh vertex
- write to Blender object data (e.g. create shape keys)
I do not have a ready to use script nor do I want to write one here. This answer means is more an idea than a complete solution.
You cannot record a Soft Body deformation with keyframes, since it transforms the vertices of the object itself. There is, however, a Soft Body option in the Physics panel of BI and Cycles. The settings there are more in depth, and you can get an even cleaner simulation than the Game Engine.