How to make Jett's Dash in Unity

แชร์
ฝัง
  • เผยแพร่เมื่อ 6 ก.ย. 2024
  • In this video, we'll be looking at Valorant agent Jett's dash. We'll be working on programming the mechanic, setting up the foundation for her other abilities, and creating the dash particles all in Unity.
    #valorant #unity #tutorial
    Website: www.hightailga...

ความคิดเห็น • 27

  • @harrison298
    @harrison298 3 ปีที่แล้ว +4

    This isn't even what I was looking for, but I'm so glad that you showed me the final product right away that I dropped a like anyway.
    Good luck on making more tutorials... you're good at it.

  • @amiteshwarsingh6099
    @amiteshwarsingh6099 2 ปีที่แล้ว +1

    You should really make a abstact class for all abilities it will help you create more abilities faster

  • @josegassull6276
    @josegassull6276 3 ปีที่แล้ว +3

    Thank you for your guide! Cheers

    • @Ajackster
      @Ajackster  3 ปีที่แล้ว +2

      Thanks! Glad you’re enjoying them

  • @nick-0579
    @nick-0579 3 ปีที่แล้ว +1

    When I dash mid air I dash up and down. For a game like mine where mid air movement is very important I really want to fix this. PLEASE HELP.

  • @cnarozer4981
    @cnarozer4981 3 ปีที่แล้ว +1

    when ı press e its teleports me to random place what can ı do pls help me (ı discover that if you pres w and e it goes right and if you pres s and e it goes left)

  • @Glados44
    @Glados44 2 ปีที่แล้ว +1

    I love your videos Ajackster but i have to say this cause its not a minor thing.
    I don´t feel like this is a video tutorial i just follow your code and copy paste on my project cause there´s no a lot explanations on the video. I feel you explain some things but you go through the video fixing some issues and talking to yourself.
    Please don´t take this in a bad way im just trying to give you feed back for the videos. I recommend making the coding part before hand and just go trhough what you already made but explaining how it works. Just an idea. As i said before i love your videos and the things you made are a great material to learn.
    🤘🤘🤘

  • @Fedesawfulchannel
    @Fedesawfulchannel 3 ปีที่แล้ว +1

    I'm getting an error that goes: NullReferenceException: Object reference not set to an instance of an object.
    JettController.HandleDash () (at Assets/Scripts/JettController.cs:41)
    JettController.Update () (at Assets/Scripts/JettController.cs:22) ->it's HandleDash()
    But I don't know what I'm doing wrong :(
    My character controller is the same one from Brackeys but I don't think it makes any difference?

    • @Ajackster
      @Ajackster  3 ปีที่แล้ว

      Hey can I see some of your source code? NullReferenceException means you’re trying to access a property on an object that hasn’t been initialized (is undefined) but I’d need to see your code to see whats going on

  • @kingdrofd588
    @kingdrofd588 4 ปีที่แล้ว +2

    is there a different way than using movementVector? I use a different code for the character movement so now I am confused. Do I have to have the same character movement script as yours?

    • @Ajackster
      @Ajackster  4 ปีที่แล้ว +2

      The movementVector is just whatever direction your player is moving. Wherever you’re getting your input, you can just create a movementVector from those input values. How are you moving your character?

    • @kingdrofd588
      @kingdrofd588 4 ปีที่แล้ว +1

      @@Ajackster thank you for the reply, after searching for a while I discovered my code is not compatible with many things I try to implement so I am just remaking it I will check your characterController tutorial again thx

    • @Ajackster
      @Ajackster  4 ปีที่แล้ว +1

      Awesome let me know if you need help with anything

    • @johnknight4360
      @johnknight4360 3 ปีที่แล้ว

      @@Ajackster hes probably using a rigidbody

  • @R69Games
    @R69Games 2 ปีที่แล้ว

    Awesome thanks! :)

  • @joeyn3590
    @joeyn3590 2 ปีที่แล้ว

    would this same thing work for a 3rd person character or is there anything else to do to get it to work for that style of camera?

    • @Ajackster
      @Ajackster  2 ปีที่แล้ว

      It should work but you’d probably have to tie in the camera rotation (if the camera is a free look) into the equation of where to dash. But the concept is the same, a dash is just an increase in movement speed for a certain duration.

  • @uro3569
    @uro3569 2 ปีที่แล้ว

    Does it work with a Rigidbody playercontroller?

  • @spraqo2076
    @spraqo2076 3 ปีที่แล้ว

    Got it all up and working,however I can only Dash one time. I am not sure why I am not using the dashattempts method.

    • @Ajackster
      @Ajackster  3 ปีที่แล้ว

      Hmmm I’d need to see your code to really be sure but...
      The first I’d think about to debug this is what are all the cases that would prevent Jett from dashing? The dashattempts, and the time between dashes (are there others?) and then check those to see if that logic doesn’t have a bug.

    • @spraqo2076
      @spraqo2076 3 ปีที่แล้ว +1

      @@Ajackster Thanks for the fast reply!, I fixed the issue by removing the default check and adding my own invoke bool, which is basically a cooldown instead of if its available, Thanks!

    • @Ajackster
      @Ajackster  3 ปีที่แล้ว

      @@spraqo2076 Awesome!

  • @V_07th
    @V_07th 3 ปีที่แล้ว

    Hey, can you help me? I'm not so good at programing, actually, i started a few weeks ago. I tried to replicate your code at my project, but it didn't work, the player was only dashing forward and backward, at the diagonals too, but it was really weird, and he wasn't dashing to right and left. If you want, i can send my script to you, and if you find i way to implement the Dash, this would save my life.

  • @jugalshah8199
    @jugalshah8199 3 ปีที่แล้ว

    Can u pls give mode and anim link