Тёмный

SLOPE MOVEMENT, SPRINTING & CROUCHING - Unity Tutorial 

Dave / GameDevelopment
Подписаться 37 тыс.
Просмотров 213 тыс.
50% 1

SLOPE MOVEMENT, SPRINTING & CROUCHING - Unity Tutorial
In this video, I'm going to show you how to further improve my previous player movement controller by adding slope movement, sprinting and crouching. (You can also use your own player controller if you want to)
If this tutorial has helped you in any way, I would really appreciate it if you leave a like in return. And you can also subscribe to this channel if you want to see more tutorials like this one.
Links:
➤ DOWNLOAD the SCRIPT: www.mediafire.com/file/eibwbh...
➤ DOWNLOAD the PROJECT (in the free-code-dave channel): / discord
➤ DON'T CLICK: bit.ly/2VcrDZt
➡️ Get Access to my full MOVEMENT LAB! ➡️
➤ Trailer: • MOVEMENT LAB - Unity P...
🏹 Get Access to my RANGED COMBAT LAB! 🏹
➤ Trailer: • RANGED COMBAT LAB - Un...
Other interesting videos :D
➤ THROWING Grenades, Knives and Other Objects - Unity Tutorial): • THROWING Grenades, Kni...
➤ FULL 3D ENEMY AI in 6 MINUTES! || Unity Tutorial: • FULL 3D ENEMY AI in 6 ...
Support me on Patreon:
➤ / davegamedevelopment
#UnityMovement #FirstPersonMovement #UnityTutorial

Опубликовано:

 

14 фев 2022

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 706   
@davegamedevelopment
@davegamedevelopment Год назад
If you need help with any of the code shown, just visit the "coding-help" channel on my discord server :D Also you can find many more movement tutorials on my channel in the "Tutorials!" playlist - I really hope they help you on your further GameDev journey! And in case you're interested in getting access to my full MOVEMENT LAB, where I combined all of the movement abilities shown in the tutorials and some more, check out the trailer: ➡ MLab Trailer: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-9_Q9UxK7VF8.html Also, since I know lot's of you are interested in ranged combat as well - I can gladly announce that I'm about to release my RANGED COMBAT LAB as well: 🏹 RcLab Trailer: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-j2YplilHjCA.html Thanks so much for watching, hope this tutorial has helped you!
@guillermolmr
@guillermolmr Год назад
The crouching speed in the script is being rewritten by the other states,
@deadlocked85
@deadlocked85 Год назад
Yep
@Camacho4Prez2024
@Camacho4Prez2024 Год назад
For anyone who' might be wondering why the crouch speed is really slow / jittery or barely seems to be moving at all no matter what you set crouchSpeed to, It's not the states or the ground detection. You have to put a frictionless physics material on the ground object or you get the same bug as when moving against a wall with friction and the player "sticks" to it.
@TakaShitake-rt8bz
@TakaShitake-rt8bz 10 месяцев назад
@@Camacho4Prez2024 he left out the "else" on the last one for the crouch - see the other comments - it needs to be if.... else if.... else if..... NOT what we got in the vid which is if... else if.... if....
@TakaShitake-rt8bz
@TakaShitake-rt8bz 10 месяцев назад
everyone taking the time to read thru the comments - also - make sure folks: you set your slopes to WhatisGround for gawd's sakes!! doh!
@yairtayb8665
@yairtayb8665 Год назад
your tutorials are superb! please do more of these, you dive deeper than many of the existing chanels and provide us with great learning opportunities
@JW.165
@JW.165 2 года назад
You know, these are the types of tutorials you like to see, straight to the point, easy to follow, but now boringly slow, and explained perfectly. Keep up the good work 👏
@davegamedevelopment
@davegamedevelopment 2 года назад
Thanks a lot!
@joelkanna3563
@joelkanna3563 Год назад
@@davegamedevelopment Dave. The slope system make my Transform spin. I'm using cube collision. Even if I change to capsule It's still spinning.
@FabUni-jy7xj
@FabUni-jy7xj Год назад
You are amazing! I love your voice because it makes everything clearer, you don't miss a word 😎Your tutorials are great! Thanks to you and some further additions, now I can manage an advanced on-ship deck movement!
@sofiaonaga5352
@sofiaonaga5352 Год назад
Two things: 1. THIS IS AMAZING. I'm going to get everyone I know to watch and subscribe. 2. Thank you comment section for being the answer to my problems!
@Hyphen3372
@Hyphen3372 2 года назад
Ay nice I have actually added sprinting myself before you made this so I was proud of myself also, what an awesome tutorial man keep it up.
@davegamedevelopment
@davegamedevelopment 2 года назад
Thanks a lot!
@Chaomaster200
@Chaomaster200 3 месяца назад
This has seriously been a god send, thank you for making these videos, I've learned so much in a such a short amount of time and it is very easy to adapt into my own project
@AgentNano
@AgentNano 6 месяцев назад
For those struggling with very weird movement on slopes and not being able to jump on them, try changing the line "grounded = Physics.Raycast(transform.position, Vector3.down, playerHeight * 0.5f + 0.2f, whatIsGround);" to "grounded = Physics.Raycast(transform.position, Vector3.down, playerHeight * 0.5f + 0.3f, whatIsGround);" sp change 0.2f to 0.3f. Atleast thats what fixed it for me
@__Rizzler__
@__Rizzler__ 2 года назад
I liked and saved your every single video. It's so helpful for my summer vacation game projects
@davegamedevelopment
@davegamedevelopment 2 года назад
Thanks a lot!
@user-yx2ui3db6t
@user-yx2ui3db6t Год назад
it took me many hours to figure how to do slope movment but your method is easy ,thanks a lot
@LM-cc7qz
@LM-cc7qz 2 года назад
Please pin this comment, for those having issues with going down slopes being bumpy please make sure that the series of if statements in the move player method are else if's and not multiple different if statements. Also in the state Handler method please make sure that they are all else if until the last one which is an else because otherwise your code won't work correctly. This is what caused issues in my code and it took me forever to figure it out. Please make sure that these are correct.
@ivania406
@ivania406 2 года назад
Thank u that fixed all my movement realated issues
@baxifox
@baxifox 2 года назад
you're a saint
@Skycrafter328
@Skycrafter328 Год назад
small but important difference!
@glacial6956
@glacial6956 Год назад
oh my god i didn't think that would be the problem tysm
@egorrykunov5757
@egorrykunov5757 11 месяцев назад
bro, you are the best
@michaelechim2148
@michaelechim2148 2 года назад
Thank you so much! Please keep making these tutorials, they are awesome!!
@davegamedevelopment
@davegamedevelopment 2 года назад
Glad you like them, I'll keep going!
@just_gaminlive3402
@just_gaminlive3402 Год назад
0:28 sprinting 2:07 crouching 3:46 handling slopes
@grantmilner8908
@grantmilner8908 Год назад
Thanks so much for leaving a link to the script! that helps so much when tutorials do that so I can read through the original when I have errors.
@johanjaviernavarroticce4632
Damn bro top tier content, I'm sure you had to visit multiple countries to produce a masterpiece like this
@davegamedevelopment
@davegamedevelopment Год назад
Haha thanks a lot!
@zuhal5566
@zuhal5566 Год назад
TNice tutorials comnt from you is legendary. Uncomplicated like your video!!!
@jeanpiereramospatricio6954
@jeanpiereramospatricio6954 2 года назад
will get it. Just don't get burnt out. Whenever you need a break, take one.
@jerryjayduff2643
@jerryjayduff2643 Год назад
when i typed in soft soft tutorial i did not expect it to be tNice tutorials good thank you so much aaaaaaa
@Supportik
@Supportik 8 месяцев назад
I am not sure why this is not mentioned but the walk speed overrides the crouchspeed since you are still grounded. The statehandler still says walking even though you are crouching. Found the issue: My sprint mode had just Else and not Else if. // Mode - Sprinting else if(grounded && Input.GetKey(sprintKey)) { state = MovementState.sprinting; moveSpeed = sprintSpeed; }
@bigboi1847
@bigboi1847 6 месяцев назад
saved me a bunch of time. Thanks a lot
@jacobjoseph11
@jacobjoseph11 3 месяца назад
Thanks
@user-sj5iu1ez8p
@user-sj5iu1ez8p Месяц назад
Thank you buddy !
@user-sp5hx2se6g
@user-sp5hx2se6g Год назад
Very great tutorial! It helped a lot!
@जबाजAWM
@जबाजAWM 2 года назад
After long time Good to see you 👍
@davegamedevelopment
@davegamedevelopment 2 года назад
:D
@mikeylad3834
@mikeylad3834 Год назад
Thank you so much for making stuff in soft a lot easier to understand.
@theboy6648
@theboy6648 2 года назад
This Man is OP (Overpowered) 😁💪 I like your Videos 👍
@davegamedevelopment
@davegamedevelopment 2 года назад
Thanks a lot!
@tanc4635
@tanc4635 2 года назад
Great video, I'm really liking these tutorials. One thing: Towards the end when you are accounting for on-slope speed control, instead of adding a new bool flag for jumping from slopes, I actually just re-used the 'canJump' flag instead to keep it simpler. Since 'canJump' is only set to false when the player presses the jump bind, and the Jump() method is called right after, you can use it in the SpeedControl() method to only control the speed on the slope when the player has not yet jumped (so when they are still only the slope). It seems to work all the time for me, but my testing wasn't very long so let me know if I missed something. Also have you thought about making videos about using the new Input System and a Character Controller, especially for a third person controller? Again, thanks for the help!
@davegamedevelopment
@davegamedevelopment 2 года назад
Glad you liked the tutorial! And sure, if this works feel free to do it this way. Also I recently uploaded a video on third person movement. And thanks for the other ideas, I'll think about them!
@ivanramos102
@ivanramos102 Год назад
So informative, thanks a lot!
@venkateswaran_muthupandi
@venkateswaran_muthupandi Год назад
Bet your soft is absolutely amazing! Never give up
@DevNoob
@DevNoob 2 года назад
Ah I need to add crouching to my game. Nice job! I might take some ideas from your movement code
@davegamedevelopment
@davegamedevelopment 2 года назад
Thanks :D
@carlosjulio8364
@carlosjulio8364 2 года назад
Absolute legend. Nice one
@xxshartoxx2982
@xxshartoxx2982 2 года назад
we've missed you for so long ❤
@davegamedevelopment
@davegamedevelopment 2 года назад
:D
@hwitweald
@hwitweald Год назад
great tutorials man actual good code, no brackeys asset store nonsense, this is just what i was looking for
@matiasrodrigobaldeonjarro5958
@matiasrodrigobaldeonjarro5958 2 года назад
You're a legend you have helpped me alot :')
@davegamedevelopment
@davegamedevelopment 2 года назад
Thanks, glad I could help! :D
@khaledzyatahmed1855
@khaledzyatahmed1855 Год назад
This is great, thank you!
@giuseppedeodato7323
@giuseppedeodato7323 Год назад
it worked! thank you so much!!
@simonperry8955
@simonperry8955 5 месяцев назад
if you dont want to remove gravity on slopes you can add extra downforce while your y velocity is negative on slopes so that you dont fly off of them
@familyof424
@familyof424 Месяц назад
helped me so much Imma subscribe
@MIO-ym8rx
@MIO-ym8rx Год назад
OMG THANKS SO SO MUCH THIS HELPED!!!
@samarpreet2007
@samarpreet2007 Год назад
That was great. Thank you.
@growacc1829
@growacc1829 Год назад
You really good at explaining thank you
@amanKumar-xl4fw
@amanKumar-xl4fw Год назад
it's finally ti. i'm ready to learn.
@sid_.k
@sid_.k 2 года назад
Bro, this tutorial helped me out so much. Can you make a weapon switching tutorial as well? I want to try and finish my project, but I can't figure out how to make your all in one gun script compatible with other weapon switching scripts on RU-vid. With that said, your content is absolutely brilliant. Keep it up!!
@davegamedevelopment
@davegamedevelopment 2 года назад
Thanks a lot! Glad I could help you :D I kind of did a weapon switching tutorial already, check it out if you want, but it's a bit specific - only for picking up and dropping weapons, not really storing them in an inventory :D
@furkan4657
@furkan4657 2 года назад
Great video, thank you ! :)
@davegamedevelopment
@davegamedevelopment 2 года назад
Glad you like it!
@hawk8566
@hawk8566 2 года назад
I have followed your last 3 fps movement and the grenade throwing videos. Thankyou so much the way you explain things it is very easy to understand. Will be following the next vids in the series keep it going!! So much to learn. P.s. Please add movement on stairs currently if I try to climb stair the player gets stuck.
@davegamedevelopment
@davegamedevelopment 2 года назад
Glad you like my tutorials! :D And I'll probably do something about stair movement sometime soon, but it's definitely going to be one of the most complicated tutorials ^^
@versenova5531
@versenova5531 2 года назад
@Hawk If you wat to move on stairs make an invisible slope overlapping them. It makes them go smoother than other ways and its easy to do.
@ultmatepotato
@ultmatepotato 2 года назад
@@davegamedevelopment ummmmm this is taking awhile
@croeusjawad9744
@croeusjawad9744 2 года назад
Watch this: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-DrFk5Q_IwG0.html
@dalidasse9593
@dalidasse9593 Год назад
For people struggling with the slope with high character velocity, you can add more force to "80f" so you don't get launched in the air, but dont put too much or you'll be stuck on the slope which is worse
@thazeus1754
@thazeus1754 Год назад
what exactly did you change? I have the same problem
@dalidasse9593
@dalidasse9593 Год назад
@@thazeus1754 go in the script and where you can add force "Vector3.down * 80f" you can get this more high, also normally you can fix it also by verifying missing lines in your code :)
@TakaShitake-rt8bz
@TakaShitake-rt8bz 10 месяцев назад
change all the Force.Force's to Force.Impulse's and prepare to laugh your ass off
@brotato9288
@brotato9288 Год назад
ty cuz ive been having a hard ti getting started.
@zeemidev4280
@zeemidev4280 Год назад
have. But, your tutorial was amazing and I have made a semi-decent soft. Thanks!
@MohamedMahfouz699
@MohamedMahfouz699 Год назад
Omg thanks very much ! ✨
@andrellmarrow4642
@andrellmarrow4642 14 дней назад
saved me so much time thanks a tonne
@Blutengel6661
@Blutengel6661 2 года назад
WOW IT WORKED!!!!! THANKS MAN
@davegamedevelopment
@davegamedevelopment 2 года назад
Glad I could help!
@paululanday5420
@paululanday5420 Год назад
Very helpful..thanks a lot.
@Alihegazy25
@Alihegazy25 Год назад
works perfectly, thank you
@munteanu_555
@munteanu_555 Год назад
Thank u for this ❤❤
@DevNoob
@DevNoob 2 года назад
As I said :D I'm following your tutorials now taking your code :D
@davegamedevelopment
@davegamedevelopment 2 года назад
Haha go ahead ^^
@leotorres2121
@leotorres2121 Год назад
Thank you so much for these videos! They're helping me so much! I was wondering why you were doing Raycasting to detect the ground below the player instead of collision detection? Is it because Raycasting is more computationally efficient, or is it because it's easier to code Raycasting than writing a loop through the collision object array?
@gawczan8218
@gawczan8218 Год назад
thank u helped me a lot
@fuzziau5669
@fuzziau5669 Год назад
alternatively, you could use animations for crouching. you can simply create an animation within the Unity dope sheet animator, move the players collider and model down, resize things if needed to prevent clipping, or pose them as well if they are a rigged model. this should resolve any temporary floating in mid air, though you could simple make an if-statement and alternative animation for when the player model is not grounded so that they don't suddenly drop downward. there's always much more easier alternatives, provided you learn about their attributes
@notanagger4861
@notanagger4861 Год назад
The animation way is the way to go I would say for beginners... the way he does it in this video is just so janky
@tomshort2558
@tomshort2558 Год назад
thank you so so so much your a great person you helped
@cantalk4423
@cantalk4423 2 года назад
Welcome Back
@davegamedevelopment
@davegamedevelopment 2 года назад
Thanks :D
@user-dk5xj7uu4m
@user-dk5xj7uu4m Год назад
If you input left shift and MoveSpeed is still equal to WalkSpeed,Put the sprint mode under the walking mode in the StateHandler function
@TakaShitake-rt8bz
@TakaShitake-rt8bz 10 месяцев назад
sometimes, you can help your script by giving it a little nudge - to make sure everything starts in right place. For instance, to help you might in your void start: state = MovementState.walk; to help give it a frame of reference also, the coding demonstrated in the tutorial for the StateHandler() function is not the best truthfully, you need every other one after the first as "else if" for it work best so in your state handler if... else if... else if... else if... for some reason, Dave gets really sloppy in the second half of the tutorial overall, after being so thorough and diligent with good coding in the first parts
@Deleted328
@Deleted328 Год назад
Thanks yummy script love it
@tsplays6306
@tsplays6306 Год назад
Works well!! DANKEEE
@akeditexe
@akeditexe Год назад
!thanks dude!
@TPD_Dev
@TPD_Dev 2 года назад
You got my sub
@davegamedevelopment
@davegamedevelopment 2 года назад
Thanks!
@axalisdead
@axalisdead Год назад
Very helpful
@__Rizzler__
@__Rizzler__ 2 года назад
Genius bro
@nikkelob4656
@nikkelob4656 2 года назад
great tutorial!!! please make the sliding/wallrunning one
@davegamedevelopment
@davegamedevelopment 2 года назад
Thanks - Sliding tutorial is going to be uploaded tomorrow :D
@irayathecool
@irayathecool Год назад
if anyone is having issues with the raycast detecting ground that isn't there (ie you're high in the air and still able to jump), go to your mesh collider component, cooking options, and deselect "use fast midphase" was tearing my hair out for days trying to figure out why my very short raycast was still detecting ground despite my character being high in the air, tried this and it immediately fixed that issue. edit: you might need to reimport it as well
@MatejSunavec
@MatejSunavec 10 месяцев назад
This does not work. I am still above 1.0 in the air when able to jump. Unless I check convex, I get message: Non-convex Mesh-Collider with non-kinematic Rigidbody is not longer supported since Unity 5. And with convex checked, I can not move up the slope. I also can not crouch through a tunnel.
@namkhanh_kelleroan8836
@namkhanh_kelleroan8836 Год назад
Thanks Bruu
@kraccbaccoriginal
@kraccbaccoriginal 2 года назад
Lol, was just on your channel and then a new video popped up.
@davegamedevelopment
@davegamedevelopment 2 года назад
Nice :D
@owen261
@owen261 2 месяца назад
Mess with the Jump fource, cooldown, and air multiplier if you are having issues with choppy jumping. For me Force of 13, cool down of 0.7, and multiplier of 1 work well (this is with gravity set at -30 in project settings)
@themooselord9848
@themooselord9848 2 года назад
Brackeys Leaves, and Dave Arrives, Boys We Got A New One
@davegamedevelopment
@davegamedevelopment 2 года назад
Haha thanks!
@madgaming9165
@madgaming9165 2 года назад
Hey nice video man looking for the grappling gun part also!!
@davegamedevelopment
@davegamedevelopment 2 года назад
Glad you like it!
@MaxIzrin
@MaxIzrin Год назад
There will be no need to add downward force on crouch if your player's pivot is at his feet. This also negates the need to know the player's height before raycasting to check for ground. And additionally helps placing units/characters in the scene without needed to adjust their Y position so they don't clip through the ground.
@TakaShitake-rt8bz
@TakaShitake-rt8bz 10 месяцев назад
but it can be a real b*ch with all the Rigidbody.Addforce stuff etc gravity goin' on - like center of gravity really helps in Physics in Unity. Could you imagine if you r center of gravity was instead placed at your feet? What a DRAG man
@MaxIzrin
@MaxIzrin 10 месяцев назад
@@TakaShitake-rt8bz You can actually set that manually. And if your rotation is locked anyway, which it is for most character controllers, then the center of gravity doesn't matter at all.
@TakaShitake-rt8bz
@TakaShitake-rt8bz 10 месяцев назад
@@MaxIzrin force on crouch is the best way to guarantee you are the "floor" of any low ceiling shaft, duct, tunnel, cave - that's in essence most important especially if you crouch forward and come into a cave that is 3/4 of your height - you stand up - you will clip the ceiling - you need to make sure at all times when in a crouch environment you are at the lowest point of it - to guarantee a raycast up to check ceiling only hits something your full height or lower - anything above is false and you can stand up - and not clip.
@ramelo07
@ramelo07 8 месяцев назад
@@TakaShitake-rt8bz the issue with adding force down is that u cant do something like crouch jump. if u hold crouch while in air the player gets pushed down constantly
@nightninja1219
@nightninja1219 4 месяца назад
my crouchijng doesnt work, only my croush speed works but not my yscale, i havent done the ray casting so im not sure if taht is the problem. help quick!!!!!!
@silfah3194
@silfah3194 2 года назад
Really Great Video. Well explained and easy to implement in own scripts. Could you make a tutorial for a dash move?
@davegamedevelopment
@davegamedevelopment 2 года назад
Thanks a lot! And yes, I'm planning to do that :D
@cboyslim5490
@cboyslim5490 2 года назад
finished 2 in one sittig already lol got the sub
@davegamedevelopment
@davegamedevelopment 2 года назад
Great! :D
@JoshuaDZ
@JoshuaDZ 2 года назад
I was expecting a flood of among us comments from the thumbnail, glad there wasn't any lol, anyway thanks for this video :)
@davegamedevelopment
@davegamedevelopment 2 года назад
Haha you know, the game dev community just accepted the default Unity capsule as a player model for first-person games xD
@jimmoydapatat6928
@jimmoydapatat6928 Год назад
Quick and gud :D
@mazenhassan2011
@mazenhassan2011 Год назад
Awesomeee video, clear steps and straight to results. I have just a little problem, I'm making a fps shooter game so i have a gun attached to my camera so when i crouch everything also shrinks. is there a fix to to that ?
@UnlAckY123
@UnlAckY123 2 года назад
really Nice
@davegamedevelopment
@davegamedevelopment 2 года назад
Thanks!
@heyitsflux1265
@heyitsflux1265 2 года назад
Could you make one for stairs? Mine seems te get stuck on them. Thank you
@a.gosman7155
@a.gosman7155 Год назад
Hi I am having two weird issues, one is that when I am crouched my grounded variable becomes false and secondly when I uncrouch it does a weird and slow growth back to normal height
@InvisaPotion
@InvisaPotion Год назад
I recommend where it has the bool for the slope and has != 0 to put like 5 or smthn cause your flat ground wont always be completely flat and you dont want slope physics on flat ground so yea
@TakaShitake-rt8bz
@TakaShitake-rt8bz 10 месяцев назад
or, oh shit - ya can maybe remember to make sure your slope is whatisGround
@mflixprimemovies9822
@mflixprimemovies9822 2 года назад
wow, nice
@purble1987
@purble1987 Год назад
when i sprint up a ramp or stairs my character keeps the momentum and usually flies over whatever platform i have at the top
@mishaaskar
@mishaaskar 8 месяцев назад
shit.. i clicked and now im subbed xD
@loupa6128
@loupa6128 8 месяцев назад
Nice video. Do you have a tutorial for walking stairs?
@hermes3461
@hermes3461 Год назад
most people got sotNice tutorialng from tNice tutorials video. Much love!
@mahendrabarik
@mahendrabarik Год назад
In GMS screen select appes and then select Analog app 1 TE. That worked out for .
@luizphellipe1817
@luizphellipe1817 2 года назад
hi, thanks for the video, that helps a lot, i have an issue when i goes down a slope, my player bouncing down. i followed the video until the end, and i dont know how to fix it, his bouncing is the same size of the line grounded = Physics.Raycast(transform.position, Vector3.down, playerHeight * 0.5f + 0.2f, whatIsGround); if i turn this 0.2f to a higher value, his bouncing comes higher too
@kdawg717
@kdawg717 4 месяца назад
We like this.
@ezioauditore4461
@ezioauditore4461 Год назад
Brackey's back
@iceaviation281
@iceaviation281 Год назад
Thank you man! I just started Learning Unity and i wanted to make an FPS game parkour kinda think but like in 2018 or 2019 i tried but failed thanks for this video now im working on the game THANKS -subbed-
@mas-o
@mas-o 10 месяцев назад
These tutorials are great, did have an issue with my crouchSpeed not being used whenever i crouched, after i saw that, i noticed that my movement state wasn't being saved. Just had to set the next if statement to else if in the StateHandler!
@TakaShitake-rt8bz
@TakaShitake-rt8bz 10 месяцев назад
YES - and read my other comments in here for more helpful hints - there were a few oversights in the tutorial as presented cheers
@chillnook
@chillnook 10 месяцев назад
Only comment that solved my issue, appreciate it!
@zackdasilva3195
@zackdasilva3195 4 месяца назад
Thanks I wasnt able to figure it out
@Hellomyfriendlyfriends
@Hellomyfriendlyfriends 2 года назад
For the movement state handlers the first if statement won’t work but all the other ones will I’ve tried adding another if statement in first if that does something useless but that still won’t work
@collective_420
@collective_420 2 года назад
I need help with the slopes, I coded it exactly like how you did in the video but the game doesn’t detect that it is a slope that I am on, meaning everything that the code should fix is still there.
@joshuacastillo9522
@joshuacastillo9522 Год назад
Awesome program
@raduflorian926
@raduflorian926 10 месяцев назад
can anyone help me make a stamina bar like the sprint is limited and you have to stop for the stamina bar to recharge
@iamzombie9889
@iamzombie9889 Год назад
tNice tutorialngs
@Diamond-yn4nu
@Diamond-yn4nu 2 года назад
Hello, I have the pumping movement problem when walking on the slope, but when I move down not up, unfortunately, the solution that you put in the script did not solve the problem. Any suggestions? Thanks
@outofbounds7441
@outofbounds7441 6 месяцев назад
I'm having issues with not being able to jump on slopes. The raycast for being grounded doesn't go that far, but if I make it go farther, you'll be able to jump before you actually touch the ground. I tried making the raycast point towards the slope, but now your just always airborne. Also using another movement system, and I can't get it to move you vertically with the wishdir. Right back where I started.
@projectavalongame
@projectavalongame Год назад
Hi Im having trouble with my player flying off the ramp when he reaches the top, instead of just walking ( he gains a bit of air). Can anyone help with this? Thanks
Далее
ADVANCED SLIDING IN 9 MINUTES - Unity Tutorial
9:23
Просмотров 96 тыс.
THIRD PERSON MOVEMENT in 11 MINUTES - Unity Tutorial
11:07
Optimizing my Game so it Runs on a Potato
19:02
Просмотров 510 тыс.
Why 96% of Indie Games Fail
14:31
Просмотров 270 тыс.
Why Stairs Suck in Games... and why they don't have to
11:24
He said I Couldn't Make a 3D Game... So I Made One!
10:29
Steam EXPERT teaches you Game Marketing for SUCCESS!
52:22
Dear Game Developers, Stop Messing This Up!
22:19
Просмотров 698 тыс.
How to Make Grappling Gun in Unity (Tutorial)
10:23
Просмотров 857 тыс.