Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Join us on March 30, 2023, between 5 am & 1 pm EST, in the Performance Profiling Dev Blitz Day 2023 - Q&A forum and Discord where you can connect with our teams behind the Memory and CPU Profilers.
    Dismiss Notice

Question Unity animation changing properties not added in animation.

Discussion in 'Animation' started by Ganiester, Feb 20, 2022.

  1. Ganiester

    Ganiester

    Joined:
    Aug 11, 2013
    Posts:
    3
    I am trying to animate a card. I have 4 animations, one where the card scales up (the mouse is hovering over the card), one where the card is scales down (when the mouse is not hoovering over), a card flip face up and a card flip face down animation. Now there seems to be a problem where even if the HoverOver animation only should scale the card it also shows the card flipped face up even when the card is flipped down.
    This also happens some times the other way around where the card is shown face down when hovering over even when the card is faced up. For some reason it does work if I change the Update Mode and than back again. (There is 2 gifs to help understand)

    Apart from this I also seem to have a problem with the card just flying off when triggering the animations manually. It seemed to work better when I unticked the "Apply Root Motion" but it does still happened from time to time. (It flies no matter if I have positions properties added to the animation or not)

    anyone got a clue why it's doing this?

    (Edit)
    I use a free unity tool called Deform that might be causing me some issues, it seems to revert its parameters even though they aren't change in the animation and it seems like the flying away problem is reduced quite a bit if I only adjust the transition exit time between the deform animation and the scale animation. I still don fully understand the cause though or if I'm just reducing the symptoms.
     

    Attached Files:

    Last edited: Feb 23, 2022