Skip to main content

Setup

In this topic we will use an existing static mesh actor and add deformation to it.

tip

This only describes the most basic setup. Chaos Vehicles and AVS Vehicles have a separate topic.

  1. Decide what static mesh you want to deform and create a Deformable Mesh of the static mesh using the Deformation Data Tool.
  2. Add a Deformable Mesh Component to your actor below the static mesh that you want to deform:
  3. Make sure the "StaticMesh" (parent of BP_DeformableMeshComp)...
    • ... is visible and not hidden.
    • ... displays the correct static mesh (same as the deformable mesh).
    • ... has collision enabled (IMPORTANT).
    • ... has Simulation Generates Hit Events enabled (IMPORTANT).
  4. Select the previously created Deformable Mesh Component (BP_DeformableMeshComp) and configure it (see Settings). The most important settings are:
    • [MANDATORY] Settings - Deformable Mesh: Here you have to select your Deformable Mesh (see Step 1).
    • Settings - Deformation - None Physics - Mass Override: This is MANDATORY when your static mesh does NOT simulate physics.
  5. You're done!
info

The Deformable Mesh property replaces our previous "Mesh Data Table" and "Row Name" properties.