Search Unity

My monsters are climbing to the skies

Discussion in 'Physics' started by Catacomber, Mar 11, 2015.

  1. Catacomber

    Catacomber

    Joined:
    Sep 22, 2009
    Posts:
    682
    Using Unity5 and Legacy Animations my monsters that used to confront and attack my Player as soon as my Player is close, the monster starts moving up the y axis, literally climbing to the skies and then abruptly falling down only to climb again when my player is within range. Any help is appreciated. Everything worked fine in Unity 4.6.3.
     
    Last edited: Mar 13, 2015
  2. LudiKha

    LudiKha

    Joined:
    Feb 15, 2014
    Posts:
    140
    Are you using any colliders to do an overlap check? Make sure they're triggers.
     
  3. Catacomber

    Catacomber

    Joined:
    Sep 22, 2009
    Posts:
    682
    Yes, I have a box collider on my enemy as well as a character controller. Same on my player. The box colliders are triggers. Thanks for your help. :)