Search Unity

Problems with Wall Jumping.

Discussion in '2D' started by XCrystalLightX, Aug 27, 2020.

  1. XCrystalLightX

    XCrystalLightX

    Joined:
    Sep 4, 2018
    Posts:
    1
    Hi Everyone!
    I am trying to create a 2D platform game, and I am following a YouTube tutorial to create the Wall Jumping system. The tutorial says apply a Vector2 to the Rigidbody's velocity in order to propel the character off the wall at an angle. However, the x-axis force of the vector is not working for some reason, and the character just jumps straight up along the wall instead of jumping off the wall. Does anyone know how I can fix this?
    Player Script: WallJumpProblem.PNG