Setup and Use UE Root Motion Recorder Plugin
Setup
Blueprints
Add the RootMotionRecorder Plugin to project and enable
Attach the component to your Actor/Character
Add Start Recording and End Recording events to your event graph, an example can be seen below

C++
Add RootMotionRecorder Plugin to project and enable
Add component to your character subclass
Call
StartRecording()andEndRecording()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 recordedDebug Draw Rotations: If
true, arrows will also be drawn on the debug line to show the root rotationDebug 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

