Search Unity

Blended root motion loses magnitude on diagonals

Discussion in 'Animation' started by AndrewShouldice, Feb 4, 2015.

  1. AndrewShouldice

    AndrewShouldice

    Joined:
    Feb 4, 2015
    Posts:
    6
    I'm using a blend tree to blend a forward run and a sideways run. The magnitude of the blended root motion is reduced when the character is moving diagonally. It looks like it's reduced with a factor of cos(45°), or sqrt(.5), which is exactly what you'd expect given that the animations are blended linearly.

    Any idea how to make that blend work so that diagonal movement has the same magnitude as its constituent animations? Blending direction and magnitude separately somehow?

    I can just do root motion myself by script, but then any subtlety in the root motion of the animations is lost.

    Thanks!
     
  2. medhue

    medhue

    Joined:
    Aug 24, 2014
    Posts:
    176
    Try messing with the Thresholds. I'm pretty sure those will adjust which animations have the most influence as you move in that direction.
     
  3. VeryHotShark

    VeryHotShark

    Joined:
    Mar 11, 2017
    Posts:
    13
    Hi did you manage to fix that? I have the same problem and I don't want to make additional animations