For the complete documentation index, see llms.txt. This page is also available as Markdown.

Setup and Use UE Root Motion Recorder Plugin

Setup

Blueprints

  1. Add the RootMotionRecorder Plugin to project and enable

  2. Attach the component to your Actor/Character

  3. Add Start Recording and End Recording events to your event graph, an example can be seen below

C++

  1. Add RootMotionRecorder Plugin to project and enable

  2. Add component to your character subclass

  3. Call StartRecording() and EndRecording() events respectively

Settings

The RootMotionRecorder Component has the following editable properties:

Configurable

  • Output Directory: Absolute path that the JSON files will be written to

  • Should Debug Draw: If true, a line will be drawn under the character's feet to show the path that is being recorded

  • Debug Draw Rotations: If true, arrows will also be drawn on the debug line to show the root rotation

  • Debug Draw Offset: Offset from the actor's origin to draw the line from

Non-Configurable (do not change unless you're post-processing JSON files!)

  • FPS: set to 30. Please do not change this, as Motion Factory only accepts 30 FPS paths at the moment. It is exposed for extendability, in case you want to do some post-processing and resample later

  • Flatten trajectory: - Ensures the Z (Up) component of the recorded root motion is constant, which is then taken down to 0 before writing to JSON (and converting to Y-Up)

Last updated