Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Animated colliders problem / alternative

Discussion in 'Physics' started by Mystic_Quest, Jun 19, 2017.

  1. Mystic_Quest

    Mystic_Quest

    Joined:
    Feb 22, 2016
    Posts:
    47
    Hello. I made a 2D top down rpg and used colliders (mainly box) for every collision detection (triggers). The problem is that the colliders I had animated through the animation window (for example, the enemy knight sword collider), will just not move correctly (not in the coordinates specified) when playing the game, even though they seem to move correctly in the animation window when I play that animation.

    Any idea why this happens? Also, is there any alternative to precise collision detection that can animate, for example, a sword swing?
     
  2. Mystic_Quest

    Mystic_Quest

    Joined:
    Feb 22, 2016
    Posts:
    47
    Nothing? :/