Search Unity

Cannot jump because of collision

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

  1. Silasi

    Silasi

    Joined:
    Jul 25, 2016
    Posts:
    43
    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. Silasi

    Silasi

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