Search Unity

Animation transitions are resetting bone scale despite lack of keyframes

Discussion in 'Animation' started by Dronami, Jul 27, 2022.

  1. Dronami


    Feb 10, 2014
    I'm creating a shooting game and want to be able to blow the enemy's hands off. When the hand takes enough damage, I set the bone in the character's armature to a scale of (0.0, 0.0, 0.0) to effectively hide it. This works for a moment, but as soon as the Animator transitions to another animation, the scale is reset to (1.0, 1.0, 1.0). However, this makes no sense to me because none of the animations it transitions to have keyframes affecting this bone's scale.

    How is it possible for this scale to be reset when none of the animations it's transitioning to have keyframes for its scale? I realize that I could just create a parallel set of animations that have the hand's scale forced to zero, but this is very tedious and time-consuming.

    What's going on here? Am I doing something wrong? Any and all help would be greatly appreciated.
  2. arfish


    Jan 28, 2017