Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Animation transitions are resetting bone scale despite lack of keyframes

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

  1. Dronami

    Dronami

    Joined:
    Feb 10, 2014
    Posts:
    2
    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

    arfish

    Joined:
    Jan 28, 2017
    Posts:
    782