Тёмный

2 Ways to do a Ground Check | Unity 2D Platformer Tutorial #2 

MoreBBlakeyyy
Подписаться 7 тыс.
Просмотров 17 тыс.
50% 1

SCRIPTS FROM THE VIDEO: / ground-check-2d-81388828
TAPARRY: play.google.com/store/apps/de...
WEBSITE: blakeygames.com
Request a tutorial here:
forms.gle/JLBkpHt1ZFLpn7TE9
Main Channel: / bblakeyyy
Join the Discord: / discord
Watch me Live on twitch: / bblakeyyy
Intro: 00:00
Collider Ground Check: 00:31
Raycast Ground Check: 05:13
Outro: 09:06
♪ Onion (Prod. by Lukrembo)
Link : • (no copyright music) l...
♪ Branch (Prod. by Lukrembo)
Link : • (no copyright music) c...
♪ Biscuit (Prod. by Lukrembo)
Link : • (no copyright music) l...
♪ Bread (Prod. by Lukrembo)
Link : • (no copyright music) j...
unity ground check 2d,unity 2d platformer ground check,unity,unity ground check,unity 2d jump ground check,unity 2d,unity 2d platformer,unity platformer ground check,unity 2d tutorial,unity tutorial 2d,unity platformer 2d,unity check ground,unity jump ground check,unity 2d ground check,unity platformer,platformer,unity on ground check,unity 2d platformer tutorial,unity 2d game,2d platformer,unity grounding check,unity boxcast ground check

Игры

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

 

5 июл 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 39   
@ghostfrenchman6133
@ghostfrenchman6133 11 месяцев назад
I just want to say that this video was amazing! The quality was on point and you explained it very well. Keep Going!
@SlogoJellyCrainerYT
@SlogoJellyCrainerYT 6 месяцев назад
I was looking for a way to this for hours, and you helped me in just 5 minutes. Thanks so much!
@dominikfischer5175
@dominikfischer5175 Год назад
I really like your indepth explanation. Looking forward to more videos :)
@Odnem1706
@Odnem1706 Год назад
I really like your explanations! Keep it up, I can't wait for the nex part 👍
@devrodSantos
@devrodSantos 6 месяцев назад
Thank youuuuuuuuu!!!! You nailed it!!!! Thank you for creating this tutorial!! Finally, I found a simple way to prevent jumping on ground elements. 🥳🥳🥳🥳👍👍👍👍👊
@Solu-tion
@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!
@pizzakingx58
@pizzakingx58 Год назад
I like your tutorials keep it up :D
@AntonioxLOL
@AntonioxLOL 6 месяцев назад
Great tutorial! Thank you!☺
@apocalypticpandas
@apocalypticpandas Год назад
amazing keep up the work!
@leonlele7983
@leonlele7983 11 дней назад
very good video, thank you
@am4n439
@am4n439 9 месяцев назад
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
@hobo-divisionlive276
@hobo-divisionlive276 11 месяцев назад
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
@north3198
@north3198 7 месяцев назад
this saved me a lot of hours slamming my head against the wall lol, much appreciated :)
@kylemorely1812
@kylemorely1812 4 месяца назад
Is there a way for the boxcast to detect everything, not just things that have the "ground" layermask?
@sadoki
@sadoki 10 месяцев назад
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
@aivin517 6 месяцев назад
god bless me recommend ur youtube channel
@VeggieVampy
@VeggieVampy Год назад
could you do a tutorial on chaarcter customization? thank you!
@rutorikouman9386
@rutorikouman9386 Месяц назад
thanks man
@user-lc8sp5wv9g
@user-lc8sp5wv9g 2 месяца назад
you are the best
@michamarkiewicz5355
@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
@morebblakeyyy Год назад
Yep, which is also another reason I prefer the second method, raycasting
@michamarkiewicz5355
@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
@neriya5393
@neriya5393 11 месяцев назад
theres a way to make CastDistance for the X and not only for the y?
@setofaro
@setofaro 3 месяца назад
Yes swap the 0 and the cast direction
@cantthinkofname4138
@cantthinkofname4138 Год назад
I got this error: Assets/Controller.cs(54,22): error CS0117: 'Physics2D' does not contain a definition for 'Boxcast'
@cantthinkofname4138
@cantthinkofname4138 Год назад
nvm i just forgot to capitalize "cast"
@opsmation6760
@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
@opsmation6760 Год назад
i activated the gizmo in game view smh, im so silly but grateful i found the solution thank the lord lol
@morebblakeyyy
@morebblakeyyy Год назад
It happens :p
@user-ct1sj2ep6y
@user-ct1sj2ep6y 2 месяца назад
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.
@Margerrat
@Margerrat Год назад
Hey really good tutorial but the grounded check isn’t working for me
@Margerrat
@Margerrat Год назад
Nvm I fixed it
@stormflash4603
@stormflash4603 11 месяцев назад
@@Margerrat how Im having the same issue and I cant fix it (I'm using the ray cast method)
@johnjohnes698
@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
@morebblakeyyy Год назад
You can increase the speed of the video on RU-vid
@shamangrayson8143
@shamangrayson8143 Год назад
@@morebblakeyyy Keep doing what you're doing, the time you take to fully explain things is perfect for beginners trying to learn.
@bahamutaxiomx8706
@bahamutaxiomx8706 10 месяцев назад
@@shamangrayson8143 Yeah, I have to totally disagree with that. It's already a bit fast for me, also a beginner.
@morebblakeyyy
@morebblakeyyy 10 месяцев назад
Again you can change the speed of the video on RU-vid, not really possible to find a pace that can help everyone
@bahamutaxiomx8706
@bahamutaxiomx8706 10 месяцев назад
@@morebblakeyyy Actually, I replied to the wrong person. I’m fine with your current speed since I can make it slower.
Далее
3 ways to do a Ground Check in Unity
15:58
Просмотров 221 тыс.
Впервые дал другу машину…
00:57
MC TAXI: АК-47
35:14
Просмотров 527 тыс.
How I Made a 3D Platformer in 2D Game Engine
21:23
Просмотров 440 тыс.
Why Don't You Make Your OWN Game Engine?
7:23
Просмотров 8 тыс.
How to Make a Good 2D Camera
11:38
Просмотров 388 тыс.
Escaping Unity Animator HELL
18:18
Просмотров 497 тыс.
МНЕ ТЯЖЕЛО ПРИЗНАТЬ, НО...
40:07
Просмотров 206 тыс.