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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

2D Colliders no longer animate properly after update to 4.5.2

Discussion in 'Animation' started by itslevismith, Jul 18, 2014.

  1. itslevismith

    itslevismith

    Joined:
    Jul 18, 2014
    Posts:
    1
    After updating to 4.5.2, the 2D colliders on my player character are not being properly animated. I have tried scrapping the animation and remaking it, but despite it showing the correct recorded values to be animated to, it does not animate them.

    The sprite correctly changes, but the colliders don't move

    Anyone else having this issue or anything similar with other components? I'm thinking it may be a bug introduced by the new update.
     
    Last edited: Jul 18, 2014
  2. ClintSiu

    ClintSiu

    Joined:
    Jun 15, 2014
    Posts:
    19
    I had a similar problem in 4.3. If I had more than one collider of the same type on the same object, the second one wouldn't animate. I think since the component names are the identical, it could only animate one of them. The second one wouldn't take any keyframes. I'm not sure if this is the issue that you are having too.
     
  3. Watapax

    Watapax

    Joined:
    Sep 3, 2013
    Posts:
    34
    I have the same problem in 4.5 but y solve creating a child game object with a boxCollider2D and then animate the Transform of the child gameObject, so the collider will inherit all the scale, position and rotation.