Search Unity

Question move character forward while jumping

Discussion in 'Scripting' started by JonasDC, Aug 21, 2021.

  1. JonasDC

    JonasDC

    Joined:
    Jun 18, 2021
    Posts:
    1
    Hello everyone, I would like to know how I could make my character move forward while jumping to climb an obstacle while standing in front of him I put a jump but he jumps in place and I would like if he jump and press forward to move a little thanks

    pd: in 3d
     
  2. Yoreki

    Yoreki

    Joined:
    Apr 10, 2019
    Posts:
    2,605
    Simply do not stop horizontal movement while jumping.
    Hard to tell you what exactly you should do without seeing the code.