Search Unity

Cannot jump because of collision

Discussion in 'Physics' started by Cobra_2o1o, Sep 9, 2019.

  1. Cobra_2o1o

    Cobra_2o1o

    Joined:
    Jul 25, 2016
    Posts:
    39
    Hello guys,

    I'm in this situation:
    Untitled.png

    When jumping (by applying velocity to rb), the red collider collides with the blue one, and the x velocity is set to 0... so no matter how much velocity I add to the x axis, it remains to 0 because it collides. I can only jump up, with no direction, basically, I can never jump on the platform. Tried to change it to AddForce but the results are glitchy.
     
  2. Cobra_2o1o

    Cobra_2o1o

    Joined:
    Jul 25, 2016
    Posts:
    39
    This is what I want to reproduce:
    GIF2.gif