After I finished building the engine I found index.html in the UnrealEngine-FleX/FlexProject/Documentation folder. Maybe it doesn’t display in GitHud (generated with project?). FlexSoftContainer should be the same asset that’s used by the bacon mesh.
I probably won’t upload my sample. Instead I’ll show a simple 15 minute detailed example. It probably duplicates some of what I’ve already said but hopefully it’s easier to follow.
Start a new scene and move “Player start” out of the way and move the ground down. I also like to add a sky light. Add SK_Troll_Poison to the stage and zero the position. Import the attached FlexTroll.fbx, add it to the stage and zero the position (they should overlap). Double click FlexTroll in content browser to open the editor. Scroll down to the Flex setting. Set “Flex Asset” to “Flex Soft Asset” then expand it. Set “Container Template” to “flexSoftContainer”. Tick “Attach to Rigids” and “Phase/Self Collide”. Now select the FlexTroll mesh in the stage. Find “Actor/Convert Actor” and select “Flex Actor”. Run the game and FlexTroll should fall to the ground.
Add an “Empty Actor” to the stage and rename it PelvisActor. Drag it on to SK_Troll_Poison and select b_MF_Pelvis for the attach to bone. Select PelvisActor and click “Add Component” to add a cube. With the cube select set the follow transforms:
location: 0,0,0
rotation: 45, 45, 0
scale: 0.4, 0.4, 0.4
Now run the game again. The FlexTroll will be stuck to the pelvis. Create another empty actor call ThighActor and attach it to the SK_Troll_Poison/b_MF_Thigh_L bone. Add a cylinder component as set the follow transforms on the selected capsule.
location: 30,0,0
rotation: 0, 90, 0
scale: 0.4, 0.4, 0.6
Select SK_Troll_Poison and untick “Rendering/Visible”. You might also want to untick “Rendering/Actor Hidden in Game” on PelvisActor and ThighActor.
Run the game and select ThighActor. Try rotating the bone in local space. It should move the soft body mesh.
To test animations run the game again and select SK_Troll_Poison. Set “Animation Mode” to “Use Animation Asset” and also set “Anim to Play”. It will snap to the start pose but not animate. Set “Rendering/visible” to true and pick another animation and it should work. Then tick “Actor Hidden in Game” on SK_Troll_Poison.