Developer Notes

Non-trivial fix and not high priority. Users need to ensure that they isolate any needed root motion to slot 0

Description

Montage with multiple slots will only ever use root motion from the first slot

Steps to Reproduce
  1. Open the attached example project and look at the Montage in Test_MontageRootMotion
  2. Note that the Montage has two slot tracks. TestSlot1 has Death_Forward and TestSlot2 has DeathBackward. Each of these has root motion moving the character in the corresponding direction
  3. Open the AnimBP in the same folder
  4. You'll see the event triggering the montage in the event graph. In the AnimGraph, you'll see a BlendPosesByInt node. Changing the DeathVar to 0 will choose slot1(forward) and 1 will choose slot2(backward). Leave it at 0 for now.
  5. PIE and press H

Result/Expected: Character falls forward with root motion moving forward

  1. Exit PIE and change the DeathVar to 1 (compile). Please ensure you're changing the defaults and not the preview value.
  2. PIE and press H

Result: Character plays the Death_Backward animation, but uses the root motion from Death_Forward
Expected: Plays Death_Backward with the backward root motion

Have Comments or More Details?

Head over to the existing Questions & Answers thread and let us know what's up.

5
Login to Vote

Won't Fix
ComponentOLD - Anim
Affects Versions4.134.14
Target Fix4.17
CreatedDec 8, 2016
ResolvedJun 6, 2017
UpdatedMay 18, 2020