Skip to content

Quick Start ​

Bake the sample cushion that ships with the plugin and drop a ball on it.

1. Copy the sample ​

Copy SM_SampleCushion from the plugin's Samples folder into your project's Content and use the copy. The bake writes into the mesh it bakes, and it refuses meshes under the engine folder.

2. Set up the bake ​

Create Softbody > Softbody Authoring Data in the Content Browser, open it and set:

SettingCategoryValue
Target Mesh1. Targetyour copy of SM_SampleCushion
Core Placement3. Rigid Core (Bones)Bottom
Create Softbody Material5. Materialon
Softbody Material Slots5. MaterialSoft

Bottom holds only the bottom of the mat, which rests on the floor; the rest is flesh.

Softbody Authoring Data set up for the sample cushion

3. Bake ​

You must press Run Bake. It writes an SD_ asset next to the authoring asset, plus a material for the Soft slot. The log says no textures were found and the lightmap UVs moved to channel 3; both are expected for this sample.

4. Press it in the asset window ​

Press Simulate on the toolbar of the authoring asset window, then Ctrl + left drag in the Simulation tab to press the cushion.

5. Add the component ​

Place the cushion in a level, add a Softbody component to it and set Mesh Data to the SD_ asset.

Softbody component with Mesh Data set

6. Play ​

Put a sphere with Simulate Physics above the cushion and press Play. The ball sinks in, and the dent springs back when the ball rolls off.

Anything whose collision blocks the Visibility channel presses the flesh. Colliders

The same ball on a cushion without Softbody (left) and with it (right); hiding the balls at the same moment shows the dent only on the right

Things to try ​

On the Softbody component:

SettingDefaultTry
Recovery Rate308The dent takes about half a second to come back.
Memory Time0 s1.5Memory foam: a mark stays after the ball leaves, then fades.
Contact DetailBasicFullThe flesh rises around the dent.
Skin Tension00.5Leather: the dent is rounder and wider.

On the Softbody Authoring Data (4. Paint), with Contact Detail Full. Dents change at once.

SettingDefaultTry
Volume Preservation10Foam: nothing rises, and the dent has a crisp edge.

Next ​