Search Unity

Getting stuck on flat roof?

Discussion in 'FPS.Sample Game' started by Stexe, Mar 29, 2019.

  1. Stexe

    Stexe

    Joined:
    Feb 2, 2014
    Posts:
    217
    I'm having some trouble figuring out where in the code this is happening. I have low gravity and when you jump and hit a flat root it thinks you're on the ground (since your collider is on a flat surface) and it turns off gravity so you just sit on the roof.

    Any thoughts or solutions?