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

Is Trigger on Box Collider does not work on animation?

Discussion in 'Animation' started by ctalmeida, Sep 3, 2014.

  1. ctalmeida

    ctalmeida

    Joined:
    Sep 3, 2014
    Posts:
    13
    Hi

    I am new on Unity, did try this for some days now but cannot make it work.
    I have an axe, on its tip I have a box collider that has "is trigger" checked.
    When a move around other objects I do get the OnTriggerEnter when that box collider touches other colliders or rigidbody. Then it is working.
    My problem is when I run an animation to move the axe down as it hits other objects I do not get the OnTriggerEnter. I have checked and the box collider is moving with the axe and does hit the other object.
    Is like is trigger does not work on animations.
    Any help will be appreciated.
    Thanks
     
  2. David-C

    David-C

    Joined:
    Aug 23, 2014
    Posts:
    7
    Hello Ctalmeida, I have exactly the same problem, have you found any solution ?
     
  3. ctalmeida

    ctalmeida

    Joined:
    Sep 3, 2014
    Posts:
    13
    Hi David

    Never worked and never got any answer about it.
    I had to use a Raycast.