Search Unity

Character controller applying velocity on it's own

Discussion in 'Physics' started by sickb0y247, Jan 25, 2020.

  1. sickb0y247

    sickb0y247

    Joined:
    May 29, 2014
    Posts:
    54
    Hi there,

    Trying to make my guy climb a ladder. When he's idle on it he slowly drifts down on his own even though I'm applying no velocity at all to him. When I output the controller's velocity it's moving about -0.3 every update.

    Not sure what is causing this. I only have one move call for the controller per update and I've confirmed it is 0,0,0 when in this state so something else is moving the controller and I can't figure out what or why. Gravity settings don't effect controllers. The scripted gravity is clearly not being applied. Any guesses? Could slope or step be doing anything? I can't see how.
     
  2. sickb0y247

    sickb0y247

    Joined:
    May 29, 2014
    Posts:
    54
    Bump. Basically, just asking for what things could make a character controller move outside of scripting. It is only moving on the y axis. It's like it's applying a small amount of gravity even though it can't possibly be the gravity.
     
  3. sickb0y247

    sickb0y247

    Joined:
    May 29, 2014
    Posts:
    54
    Discovered the idle animation was moving the controller.