Search Unity

  1. If you have experience with import & exporting custom (.unitypackage) packages, please help complete a survey (open until May 15, 2024).
    Dismiss Notice
  2. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice

Question How to change collider shape in animation

Discussion in '2D' started by Been-, Apr 1, 2021.

  1. Been-

    Been-

    Joined:
    Feb 14, 2020
    Posts:
    1
    So I have a enemy with different attacks. The enemy has a edge collider to detect when a attack hits the player but I can't seem to be able to change it in the animation. When I change it or the points of the edge collider while recording it doesn't record the changes. I could make different colliders for different attacks but I was wondering if there is a more efficient way to do it.