Search Unity

Character Controller Sticking to a Collider

Discussion in 'Scripting' started by zigizal, Jan 31, 2011.

  1. zigizal

    zigizal

    Joined:
    Jan 9, 2011
    Posts:
    4
    I am making a platform game and I have an issue where when my player jumps and hits the platform on the side, he stays in it slowly falling down. I need it to not go in it and all and just fall (since it hit it on the side). I dont want to make the platform a trigger as the player needs to be able to stand on it when it lands on top of it. But I want it to fall right down and not cling to it falling slowly if it hits from the side. The player has a character controller on it. I am moving the player with controller.Move(). Any suggestions how to keep the player from sticking to the wall?
     
  2. zigizal

    zigizal

    Joined:
    Jan 9, 2011
    Posts:
    4
    Forget it. It had to do with my grounded code. I fixed it,