Jump in Unity - Fast Unity Tutorial

Поделиться
HTML-код
  • Опубликовано: 20 янв 2023
  • in this video we will learn how to jump in Unity.
    #unity #programming #gamedev

Комментарии • 61

  • @catinabox7188
    @catinabox7188 Год назад +64

    A little advice, if you play space again in the air you will keep jumping make it in a way soo you only can press space one time

    • @budgames
      @budgames  Год назад +13

      exactly
      cause this is a short video
      we didn't mention and fix that so we explained it in this tutorial: ruclips.net/video/XQbzMBgh0ag/видео.html at 1:39

    • @ShadowOrigin28
      @ShadowOrigin28 8 месяцев назад +2

      @@budgames Private Video

    • @budgames
      @budgames  8 месяцев назад +3

      @@ShadowOrigin28 $hit!
      yes it is, it's on our udemy course so we can't make it public anymore, sorry!

    • @rudrasingh6354
      @rudrasingh6354 8 месяцев назад +2

      ​@@ShadowOrigin28one you way can make it only jump once is by making a bool(call it isOnGround or whatever you want) and passing it to an if statement, only jump when it's true.
      Set it to true if the player is colliding with the ground(or any platform). You can do that by using on collision enter and then compare tag(put a ground tag on every platform), if the player is colliding with the ground, then set the isOnGround bool to true.
      After jumping, set isOnGround to false, it will reset when you fall back to the ground.

    • @ShadowOrigin28
      @ShadowOrigin28 8 месяцев назад

      @@rudrasingh6354 I already did few days ago. The ability to multiple jump & I can set how many times player can do it. 1? 2? or 0? My wish.
      BTW thanks for taking your time to reply with an answer

  • @MmdUnity
    @MmdUnity Год назад +2

    عالی 🔥

  • @stivenrodriguez2411
    @stivenrodriguez2411 Год назад +2

    Thank you so much!!!! :D!!

    • @budgames
      @budgames  Год назад

      you're welcomeeeee💙 :D

  • @devhtkb
    @devhtkb Год назад +18

    but if i keep pressing space in the air i can fly, you gotta make an exception if it was touching the ground or not

    • @budgames
      @budgames  Год назад +1

      yes of course
      unfortunately we can't explain them all in a short video
      we had explained it in this tutorial: ruclips.net/video/XQbzMBgh0ag/видео.html at 1:39

    • @yourguy1788
      @yourguy1788 11 месяцев назад

      ​@@budgamesHow can I watch that video when it is private

    • @falgunichoksi1881
      @falgunichoksi1881 10 месяцев назад

      True

  • @alabcom.omar_ahmed
    @alabcom.omar_ahmed 10 месяцев назад

    شكرا : thank you

  • @rekhapandey3941
    @rekhapandey3941 Год назад

    Thank you man

  • @Splosarp
    @Splosarp 7 месяцев назад

    It's not allowing me to move the Rigidbody2D component into the Rb in the Jump component.

  • @amistudio9005
    @amistudio9005 5 месяцев назад

    thanks too much🎉

  • @dragonninja9908
    @dragonninja9908 Год назад +1

    Thx bro

  • @pupbhabua9319
    @pupbhabua9319 Год назад +1

    How to jump in unity. Realy you said this i just laugh for some time on my mind😂

    • @budgames
      @budgames  Год назад

      😂😂😂 yea you are right😂😂

  • @moh-rezahmadi177
    @moh-rezahmadi177 2 месяца назад

    Love

  • @ndya9250
    @ndya9250 6 месяцев назад

    I use the codes at Main Camera but it doesn't work. For Cube or sphere, it works. I wonder why

  • @edits_by_tusk
    @edits_by_tusk 7 месяцев назад +1

    Isn't It Good If We Use transform.position instead of rigidbody can anyone help me to understand difference between them

    • @budgames
      @budgames  7 месяцев назад

      transform won't work well with physics!
      it has great problems😂

  • @alphaboys4917
    @alphaboys4917 11 месяцев назад +2

    داش دمت گرم
    ی سوال
    ایرانی ای؟😂

  • @Reality747
    @Reality747 8 месяцев назад

    Your accent gives me an Irani vibe

  • @samoldfield9997
    @samoldfield9997 10 месяцев назад +1

    but the real question is how did you make a really good looking background like that???? would you also make a video about it or any body can help me with that???

    • @budgames
      @budgames  10 месяцев назад +1

      it is created with :
      urp project
      post processing
      directional light
      orthographic camera(checked post processing box)

    • @samoldfield9997
      @samoldfield9997 10 месяцев назад

      thanks @@budgames

  • @F4kuBrO
    @F4kuBrO Год назад +1

    But it say not been assigned and i has:/

    • @budgames
      @budgames  Год назад

      i can't understand what is your problem exactly but i think it is maybe you are adding an object to wrong defined gameobject in script
      or maybe you have given no object to the script that has the error

    • @F4kuBrO
      @F4kuBrO Год назад

      @@budgames ok thank you

  • @F4kuBrO
    @F4kuBrO Год назад

    How can i learn code basics i know that was annoying but only you can help me :(

    • @budgames
      @budgames  Год назад

      Hi .
      Use these tutorials from "Brackeys" :
      ruclips.net/video/N775KsWQVkw/видео.html
      we will create our own basic C# tutorials very soon .
      Good LUCK :)

    • @F4kuBrO
      @F4kuBrO Год назад

      @@budgames thank you very much!!!!

    • @budgames
      @budgames  Год назад

      your welcome :)

    • @F4kuBrO
      @F4kuBrO Год назад

      ​@@budgamesthank you so much!!! I learned so much, i can make game without tutorial now!

    • @budgames
      @budgames  Год назад

      @@F4kuBrO we are glad to hear that😍
      your passion and perseverance is great bro💙
      good luck in your career❤️

  • @ediquero7648
    @ediquero7648 8 месяцев назад

    idk why i dont press space but my character just flies

    • @budgames
      @budgames  8 месяцев назад

      you should define an if, which says if character was on the ground, then jump

    • @maramark
      @maramark 8 месяцев назад

      Maybe you used.Getkey Instead of GetKeyDown

  • @Mecrowove
    @Mecrowove 5 месяцев назад

    the code doesnt work

  • @omerfaruksimsek4432
    @omerfaruksimsek4432 7 месяцев назад +1

    Reis sen Türk değilsen bende bişi bilmiom

    • @budgames
      @budgames  7 месяцев назад

      @youtube please add translate button🥲😂

  • @MissionBricks
    @MissionBricks 9 месяцев назад

    If only Unity did not change 😢

    • @budgames
      @budgames  9 месяцев назад

      what change happened on unity?

  • @artimanfarahani
    @artimanfarahani Год назад

    Ru iranian man ?

  • @pogmonke5217
    @pogmonke5217 9 месяцев назад

    It just creates compiler errors.

    • @budgames
      @budgames  9 месяцев назад

      what are the errors?

  • @proKaps
    @proKaps 10 месяцев назад

    More correctly: Jump from* Unity

    • @budgames
      @budgames  10 месяцев назад

      i guess it won't happen😅

  • @in.vasive
    @in.vasive 10 месяцев назад

    So unclear, first of all there’s no ground check and ForceMode in the formula

    • @budgames
      @budgames  10 месяцев назад

      best answer: this is a forty four second video🥲😂
      in our channel the "how to create 3D shooter game in unity" talks about it more specifically