Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question Unwanted delay in blend tree transitions

Discussion in 'Animation' started by TheMaydayMan, Feb 14, 2023.

?

When do you think silksong will come out

  1. febuary

    0 vote(s)
    0.0%
  2. march

    0 vote(s)
    0.0%
  3. april

    0 vote(s)
    0.0%
  4. may

    0 vote(s)
    0.0%
  5. june

    1 vote(s)
    100.0%
  6. july

    0 vote(s)
    0.0%
  7. 2024

    0 vote(s)
    0.0%
  8. never

    0 vote(s)
    0.0%
  9. tomorrow

    0 vote(s)
    0.0%
  10. yesterday

    0 vote(s)
    0.0%
  1. TheMaydayMan

    TheMaydayMan

    Joined:
    Mar 21, 2020
    Posts:
    21
    I have a 2d simple directional blend tree controlled by float parameters X and Y. When I change parameters with
    Code (CSharp):
    1. anim.SetFloat("X", 1)
    there is a delay before the animation actually starts. Does anyone know why this might be caused?
     
  2. TheMaydayMan

    TheMaydayMan

    Joined:
    Mar 21, 2020
    Posts:
    21
  3. TheMaydayMan

    TheMaydayMan

    Joined:
    Mar 21, 2020
    Posts:
    21
  4. TheMaydayMan

    TheMaydayMan

    Joined:
    Mar 21, 2020
    Posts:
    21
  5. TheMaydayMan

    TheMaydayMan

    Joined:
    Mar 21, 2020
    Posts:
    21
  6. TheMaydayMan

    TheMaydayMan

    Joined:
    Mar 21, 2020
    Posts:
    21
  7. TheMaydayMan

    TheMaydayMan

    Joined:
    Mar 21, 2020
    Posts:
    21
  8. JohnnyConnor

    JohnnyConnor

    Joined:
    Aug 10, 2020
    Posts:
    39
    Have you set the motions properly in the blend tree window?
    What about the animations themselves, are you sure there are no idle frames at the beginning of them?
     
  9. TheMaydayMan

    TheMaydayMan

    Joined:
    Mar 21, 2020
    Posts:
    21
    It's pretty random, I think it might have just been my computer lagging but i'm not sure