Search Unity

Question Transform position automatically changed by the scale in Animator in Unity 2021.3

Discussion in 'Animation' started by BlueInfinity, Dec 14, 2022.

  1. BlueInfinity

    BlueInfinity

    Joined:
    Jan 24, 2022
    Posts:
    15
    I've run into a weird issue in the animator of Unity 2021: I have two properties in an animation, transform position and scale, as shown in the image below.

    upload_2022-12-15_0-45-45.png

    Whenever I change the scale property, the editor automatically scales the position up as well. For example, if I set scale.x to 2, position.x gets doubled as well, without me editing the position value at all.

    upload_2022-12-15_0-47-45.png

    After this, I'm unable to change position.x to its original value.

    I have no clue as to why this is happening, and I imagined that the properties and curves I'm using should be separate any way, so I'm puzzled why there's a link between these two values.

    Anyone know something about this?