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...
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.
You should really make a abstact class for all abilities it will help you create more abilities faster
Thank you for your guide! Cheers
Thanks! Glad you’re enjoying them
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.
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)
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.
🤘🤘🤘
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?
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
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?
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?
@@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
Awesome let me know if you need help with anything
@@Ajackster hes probably using a rigidbody
Awesome thanks! :)
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?
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.
Does it work with a Rigidbody playercontroller?
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.
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.
@@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!
@@spraqo2076 Awesome!
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.
Can u pls give mode and anim link