I'm currently majoring in video game design in uni and our first big project is making a 2D game. I was having trouble getting the Ground Check that was included in our base template working since I've customized about 90% of the files and scripts. This video finally got it working, so I thank you. And thank you for explaining it in a way that we're able to learn from.
@ghostfrenchman6133
Жыл бұрын
I just want to say that this video was amazing! The quality was on point and you explained it very well. Keep Going!
@SlogoJellyCrainerYT
8 ай бұрын
I was looking for a way to this for hours, and you helped me in just 5 minutes. Thanks so much!
@devrodSantos
9 ай бұрын
Thank youuuuuuuuu!!!! You nailed it!!!! Thank you for creating this tutorial!! Finally, I found a simple way to prevent jumping on ground elements. 🥳🥳🥳🥳👍👍👍👍👊
@dominikfischer5175
Жыл бұрын
I really like your indepth explanation. Looking forward to more videos :)
@Solu-tion
Жыл бұрын
This video was great! You explained everything in a way I could understand, I please continue to make tutorial videos like these it really helps out beginner game developers like me can you maybe make a video on how to make the player shoot a projectile like a fireball for example? That would be great!
@Odnem1706
Жыл бұрын
I really like your explanations! Keep it up, I can't wait for the nex part 👍
@LDEV-l3p
4 ай бұрын
I don't understand such a commonly used method. Why doesn't Unity make it a built-in method? Godot has the on_the_floor method for detection, and Unity has developed for so many years and still requires manual detection every time.
@sadoki
Жыл бұрын
Everyone is doing it with collision which never works for me, thank you for showing 2 methods (Raycast the one works for me), thank you a lot!
@aivin517
9 ай бұрын
god bless me recommend ur youtube channel
@SHIVAMSHARMA-ok5mo
19 күн бұрын
When i change boxsize values it is not showing the gizmos lines
@OwenRussell-rr1st
2 ай бұрын
Thanks so much! A wonderful help.
@michamarkiewicz5355
Жыл бұрын
Problem with this collider ground check (at least for me) is that if you collide with more than one ground at the same time (which should be normal in platformer games) and you exit collision with one of them, grounded variable is gonna be set to false even though you may be on the ground if that makes sense. I fixed it by using OnCollisionStay2D in place of OnCollisionEnter2D, though I would assume OnCollisionStay2D is not much performant as it is called each frame I'll let you guys know if I'll come up with something better
@morebblakeyyy
Жыл бұрын
Yep, which is also another reason I prefer the second method, raycasting
@michamarkiewicz5355
Жыл бұрын
@@morebblakeyyy I'll try it thanks, I looked up few different tutorials but this the best one I found on the topic. Thanks for the content
@qualaycalvin-rn5lp
Ай бұрын
I'm using unity's input systems for my jump how can i adapt this
@AntonioxLOL
9 ай бұрын
Great tutorial! Thank you!☺
@sessizinsan1111
Ай бұрын
Is it possible to collider and raycast at the same time?
@kylemorely1812
7 ай бұрын
Is there a way for the boxcast to detect everything, not just things that have the "ground" layermask?
@pizzakingx58
Жыл бұрын
I like your tutorials keep it up :D
@leonlele7983
3 ай бұрын
very good video, thank you
@apocalypticpandas
Жыл бұрын
amazing keep up the work!
@hobo-divisionlive276
Жыл бұрын
hey so I'm tryna make pacman and like great up and down but the problem is how do i have it testify for the side of the box
@opsmation6760
Жыл бұрын
hey i was adding some other things and now my castDistance box is being shown in the game, how can i fix this?
@opsmation6760
Жыл бұрын
i activated the gizmo in game view smh, im so silly but grateful i found the solution thank the lord lol
@morebblakeyyy
Жыл бұрын
It happens :p
@VarunAiyar
2 ай бұрын
Thank you
@VeggieVampy
Жыл бұрын
could you do a tutorial on chaarcter customization? thank you!
@rutorikouman9386
4 ай бұрын
thanks man
@ValdemarKruse-Wong
5 ай бұрын
you are the best
@neriya5393
Жыл бұрын
theres a way to make CastDistance for the X and not only for the y?
@setofaro
6 ай бұрын
Yes swap the 0 and the cast direction
@Margerrat
Жыл бұрын
Hey really good tutorial but the grounded check isn’t working for me
@Margerrat
Жыл бұрын
Nvm I fixed it
@stormflash4603
Жыл бұрын
@@Margerrat how Im having the same issue and I cant fix it (I'm using the ray cast method)
@johnjohnes698
Жыл бұрын
dude, can you please go even faster? or even faster than that? as a beginner, I can tell you are a bit too slow. you know, the faster you click all the tabs, buttons, use all shortcuts etc, the faster you explain things, the better it is. faster! it doesn't matter people have to rewind the video here and there, because they might have missed the millisecond you used to click or explain something. that does not really matter. go faster! go challenge the speed of light.
@morebblakeyyy
Жыл бұрын
You can increase the speed of the video on KZitem
@shamangrayson8143
Жыл бұрын
@@morebblakeyyy Keep doing what you're doing, the time you take to fully explain things is perfect for beginners trying to learn.
@bahamutaxiomx8706
Жыл бұрын
@@shamangrayson8143 Yeah, I have to totally disagree with that. It's already a bit fast for me, also a beginner.
@morebblakeyyy
Жыл бұрын
Again you can change the speed of the video on KZitem, not really possible to find a pace that can help everyone
@bahamutaxiomx8706
Жыл бұрын
@@morebblakeyyy Actually, I replied to the wrong person. I’m fine with your current speed since I can make it slower.
@junba1810
Күн бұрын
Nice tutorial. Thanks!
@am4n439
Жыл бұрын
i have an issue in the ray cast method , in the collider ground check method the player is jumping properly but as soon as I used the raycast method the player is not jumping anymore , plss help me
@north3198
10 ай бұрын
this saved me a lot of hours slamming my head against the wall lol, much appreciated :)
@cantthinkofname4138
Жыл бұрын
I got this error: Assets/Controller.cs(54,22): error CS0117: 'Physics2D' does not contain a definition for 'Boxcast'
Пікірлер: 46