Skip to content

Getting Started

import { Steps } from ‘@astrojs/starlight/components’;

This walkthrough takes a plain mesh actor and gets it deforming along a spline.

Enable Spline Juice in Edit → Plugins, then restart the editor if prompted. The plugin is self-contained; no extra project setup is required.

  1. Select a mesh actor in your level (any Static Mesh or Skeletal Mesh actor).

  2. Right-click it in the viewport → Spline Juice → Add Deform Component. This attaches a Spline Juice Deform Component and opens the settings panel ready to configure it.

The component is the editable spline. Once added, you’ll see a spline path on the actor that you can shape by dragging its points in the viewport.

The effect only renders through a material that implements the Spline Juice WPO contract. The settings panel authors one for you:

  1. On the Meshes & Materials tab, every mesh and every populated material slot starts selected. Untick anything you want to leave alone.

  2. Click Generate Deform Materials.

This creates a deformation-capable variant of each consented material and writes the runtime bindings onto the component. Your original materials are left untouched; the variant only drives the look while the effect is playing.

Drag the spline points in the viewport to define the path the mesh travels along. The mesh flows from the start of the spline to its end (the rest pose).

Flip the Live Preview toggle in the panel header. The deformation loops continuously right in the level viewport (no Play / Simulate needed), so you can tune the path and curves and see the result immediately.

In an actual game / PIE session, set the playback options on the component:

PropertyWhat it does
Auto PlayStart the animation automatically on BeginPlay.
LoopRepeat the journey continuously.
Playback DurationHow long one journey takes, in seconds.

Press Play and the mesh deforms along the spline. Or drive it from Blueprint / C++. See Playback & Blueprint.