Unity Collision Cheat-Sheet - Discrete vs Continuous

  Рет қаралды 41,432

Tarodev

Tarodev

Күн бұрын

Пікірлер: 197
@MasterDavicous
@MasterDavicous 2 жыл бұрын
A fun trick I like to use in some instances is stretch the projectile's collider according to its velocity. This way it still detects collisions at high speeds on discrete mode! :)
@Tarodev
@Tarodev 2 жыл бұрын
Oh wow, that's an awesome little trick!
@alex.g7317
@alex.g7317 2 жыл бұрын
sick
@joscpe
@joscpe 2 жыл бұрын
I know a thing or two about stretchy projectiles
@alex.g7317
@alex.g7317 2 жыл бұрын
@@joscpe Is this a dick joke?
@JuniorDjjrMixMods
@JuniorDjjrMixMods 2 жыл бұрын
Scale a collider is costly iirc. Maybe the cost is higher than the benefit.
@iHeartGameDev
@iHeartGameDev 2 жыл бұрын
Never pressed a notification so fast! Welcome back, Taro!!
@emanueltejadacoste2250
@emanueltejadacoste2250 2 жыл бұрын
Never pressed the like Button on a coment so fast ! Xd Hi IHGD
@Tarodev
@Tarodev 2 жыл бұрын
Awww, thanks Nicky
@dragonlance1121
@dragonlance1121 2 жыл бұрын
Nice! I have wondered about this for a while. There are so many Unity options that have no explanation tips, you could make a dozen videos like this easily, and I'd watch every one of them. By the way, you are mentioned in the Credits section of the game I am making, for all your great tutorials. Thanks!
@Tarodev
@Tarodev 2 жыл бұрын
I'd love to play it when you're done. Come to discord and drop it in when you're ready :)
@neilmarkcorre5524
@neilmarkcorre5524 2 жыл бұрын
Straight to the point, impressive and easy-to-understand visuals, concise - overall a brilliant video! This deserves to be shared EVERYWHERE.
@x-easy
@x-easy 2 жыл бұрын
This is awesome! Daniel Irving had a good idea; putting you in the credits section of my upcoming game. Thanks a ton for what you do!
@Tarodev
@Tarodev 2 жыл бұрын
I would be honoured to be in there ❤️ as I said to him, be sure to drop your game in discord so I can check it out.
@MassimoRough
@MassimoRough 2 жыл бұрын
Here! That's some high quality content in here! Was missing you, good job!
@Tarodev
@Tarodev 2 жыл бұрын
Thanks for waiting 🙏
@NoTimeLeft_
@NoTimeLeft_ 2 жыл бұрын
The quest for quaternions has envelopes tarodev so utterly completely, he may never be the same again.
@Tarodev
@Tarodev 2 жыл бұрын
Very VERY soon my friend
@Beldarak
@Beldarak 2 жыл бұрын
Thanks. I never took the time to ask myself what different modes did. super helpful and straight to the point :)
@attenurmi936
@attenurmi936 2 жыл бұрын
Concept explanation and video quality 13/10! Would watch again!
@Tarodev
@Tarodev 2 жыл бұрын
That's a high rating my man
@Chubzdoomer
@Chubzdoomer 2 жыл бұрын
One of the best breakdowns of the collision types I've ever seen. Fantastic work as usual (and another great reminder why I've stayed subscribed to this gem of a channel)!
@pavelholub6275
@pavelholub6275 2 жыл бұрын
This channel is piece of gem! Fast, simple, but explain enough to understand by almost everyone! I just love it.
@Tarodev
@Tarodev 2 жыл бұрын
Had me worried reading "a piece of...". Glad you like it 😀😀
@wayward8372
@wayward8372 Жыл бұрын
Further to another comment - this video gives clarity, with clear, easy to understand visuals and example use cases and concise. Great.
@dibaterman
@dibaterman 2 жыл бұрын
This... I have wall boundaries in my project, it's rare but sometimes when something moves too quickly they go through the wall. YT recommending this was so timely.
@petpumpkin
@petpumpkin 2 жыл бұрын
This is great, I'd love to see more dives into what the settings of components actually do
@EngineersToGoMT
@EngineersToGoMT 8 ай бұрын
Broooo !!! this here was helpfull. I didn't even know what was going on with my objects going through walls. This was too helpful
@Tarodev
@Tarodev 8 ай бұрын
Glad it helped you my man
@Subreeze102
@Subreeze102 2 жыл бұрын
Great execution on the short but informative cheatsheet video!
@DanielAttaway
@DanielAttaway 2 жыл бұрын
Great timing, my current unity project sometimes has collision issues, and I expect it's related to discrete collisions. Thanks for the video
@hamedbabamohamadi9017
@hamedbabamohamadi9017 2 жыл бұрын
Missed you! glad to watch another amazing video from you.
@ojassharma56
@ojassharma56 2 жыл бұрын
Just brilliant, and so helpful. I would recommend these anyday to my junior devs who can learn from you just like once I did, and I keep learning from you everyday since
@Tarodev
@Tarodev 2 жыл бұрын
Aww
@PitiITNet
@PitiITNet 2 жыл бұрын
So good to have another of your videos :)! I missed you already :D
@triplezgames3882
@triplezgames3882 2 жыл бұрын
Awesome! We're still waiting for quaternions though, please don't leave us hanging 🙏
@Aye_Sid
@Aye_Sid 2 жыл бұрын
Thanks Taro I'm beginner and always used continuous collision before. This video changed my mind. 😀🙌🏻
@rungrukuk
@rungrukuk Жыл бұрын
Your tutorials definitely underrated
@Tarodev
@Tarodev Жыл бұрын
Appreciate it kamal 🙏
@MattSimon1
@MattSimon1 2 жыл бұрын
Short and sweet. Love it!
@tansangle7226
@tansangle7226 2 жыл бұрын
Woah, great video mate!
@xrsxrsxrsxrs
@xrsxrsxrsxrs Жыл бұрын
You are a f@@ legend! You explain everything very well and keep it small and simple. Keep the good work man!
@ChristinaCreatesGames
@ChristinaCreatesGames 2 жыл бұрын
Oh, cool, I had wondered about this recently. Good explanation and I love your visuals =)
@LawZist
@LawZist 2 жыл бұрын
Short and to the point! Very informative. Thanks
@ThiccyDev
@ThiccyDev 2 жыл бұрын
Tarogoat with another banger upload ngl🐐
@Tarodev
@Tarodev 2 жыл бұрын
🐐
@CtrlAltPotato
@CtrlAltPotato 2 жыл бұрын
I can see myself coming back to this video when I'm doing collisions in my games.
@Tarodev
@Tarodev 2 жыл бұрын
That was the exact thought I had in mind when making this video 😉
@orwell235
@orwell235 2 жыл бұрын
The legend returned. Glad to see you back with such a qualitative content🔥
@randomragtags
@randomragtags Жыл бұрын
Watched a few of your vids this weekend, and really wish I discovered your channel a few years back. Very interesting, your awesome ;-) Also good to hear a familiar accent on youtube
@Tarodev
@Tarodev Жыл бұрын
I wasn't here a few years back 😂
@randomragtags
@randomragtags Жыл бұрын
Fair enough. Still, excellent channel. Im planning on making a few changes to how I code thanks to you ;-)@@Tarodev
@Tarodev
@Tarodev Жыл бұрын
@@randomragtags Glad I could help buddy. Good luck on your journeys!
@2PANZER2
@2PANZER2 2 жыл бұрын
nice short video for beginners also you can make about collisions. When does happen ontriggerenter/oncollisionenter, what difference and etc
@maxhuk
@maxhuk 2 жыл бұрын
Nice breakdown!
@ceroenblanco
@ceroenblanco 2 жыл бұрын
Things I didn't know I didn't know. Thank you!
@andreasmetz2438
@andreasmetz2438 2 жыл бұрын
Best explanation I've seen by far. Keep up the good work!
@Paul-Jean
@Paul-Jean 2 жыл бұрын
It is very well explained. Very useful cheat sheet, thanks. (The video support helps me understand better than just pictures and text.) Otherwise, I wonder, for the thumbnail image of this video, what type of font you are currently using? I love this typography.
@Tarodev
@Tarodev 2 жыл бұрын
It's called 'You Blockhead'. It's the same font supercell uses. You can buy a license pretty cheap.
@ishan9050
@ishan9050 2 жыл бұрын
Now this is what we call "Back with a Bang" Missed your videos...
@MaskedImposter
@MaskedImposter 2 жыл бұрын
I had a tunneling issue with a parabolic projectile tunneling through the ground. I just decided to increase the size of its collider.
@ShinichiKudoQatnip
@ShinichiKudoQatnip 2 жыл бұрын
Woah, now this bite size info will go a looooong way for me. ❤️
@aliengarden
@aliengarden 2 жыл бұрын
Great video, as always!
@lakemonstergames32
@lakemonstergames32 2 жыл бұрын
Beautiful presentation! It was so informative and concise.
@ewwitsantonio
@ewwitsantonio 2 жыл бұрын
Yay another tarodev video!
@Tarodev
@Tarodev 2 жыл бұрын
Kept you waiting ;)
@abdrnasr
@abdrnasr 2 жыл бұрын
For the problem of ghost collisions with rotaion in speculative mode one solution that I can think of is to lag the collider of the rotating object based on its speed, so that when it ghost collides the actual mesh would be leading the collider.
@jean-michel.houbre
@jean-michel.houbre 2 жыл бұрын
Very clear, thanks.
@wicgamesdev
@wicgamesdev 2 жыл бұрын
Thank for the knowledge mate
@rathodketan5551
@rathodketan5551 2 жыл бұрын
yes please make videos like this we love it thank you
@YasserSedrati
@YasserSedrati 2 жыл бұрын
Great as always!!!
@Fiiloret
@Fiiloret 2 жыл бұрын
Finely the best describe of this options
@csidesummit
@csidesummit Жыл бұрын
That was such an excellent visual! So incredibly helpful1
@maxherrmann1182
@maxherrmann1182 2 жыл бұрын
Great vid, seams really helpful but dude... what happened to the quaternion vid? xD
@Tarodev
@Tarodev 2 жыл бұрын
Oh mate, any day now
@aryajohary5922
@aryajohary5922 2 жыл бұрын
That Byeeeeeee was fun..😂
@pachaselektah
@pachaselektah 2 жыл бұрын
thanks, it actually let me through so i could download it.
@pixelsoupgames
@pixelsoupgames 2 жыл бұрын
Thank you, this is great info provided quickly
@Astird
@Astird 2 жыл бұрын
This is the best free software Ive seen. Respect.
@Damiano401
@Damiano401 2 жыл бұрын
Great explanation
@veuch_
@veuch_ 2 жыл бұрын
Huh, that's pretty handy ! Thanks ! :)
@IAmYes.
@IAmYes. 2 жыл бұрын
Amazing visuals!!!!
@This-Was-Sparta
@This-Was-Sparta 2 жыл бұрын
That's some good knowledge, thanks.
@あれくす
@あれくす 2 жыл бұрын
these videos are so great.
@FoolishCrow
@FoolishCrow 2 жыл бұрын
Thank you for the explanation.
@landixus
@landixus 2 жыл бұрын
After 10 years, i understand it :)
@murftg
@murftg 2 жыл бұрын
king has returned
@Tarodev
@Tarodev 2 жыл бұрын
Thanks for waiting on me 🙏
@lokeshyadav8748
@lokeshyadav8748 2 жыл бұрын
ITS REALLY WORKED LOL THANK YOU DUDE
@RootTheCoop87
@RootTheCoop87 Жыл бұрын
I don't know what I'm doing wrong, but no matter which option I choose and no matter how slow or fast the two objects are that have a rigidbody, they go right through each other if I add a script to them. Doesn't matter if I move the objects with transform or by the rigidbody. The only time they don't pass right through each other is to not add scripts to them, which is pointless when making platforming traps. I didn't have this problem until I switched to the newest version on Unity.
@Tarodev
@Tarodev Жыл бұрын
That is... Bizarre. Does this happen with any script or a specific one?
@RootTheCoop87
@RootTheCoop87 Жыл бұрын
@@Tarodev Any script, even scripts I've used in older builds of Unity with no issue. I bought a controller, but I didn't like it, removed it. I don't know if that changed some setting I've never used or seen before. That's why I rarely use Unity assets. The only time I've haven't had issues on a project, are ones without Unity assets.
@notDiru
@notDiru 2 жыл бұрын
what an extraordinary explanation!
@Tarodev
@Tarodev 2 жыл бұрын
Thanks stranger
@notDiru
@notDiru 2 жыл бұрын
@@Tarodev 😨😭😭😭😭😭😭
@PriyadarshiPrashant
@PriyadarshiPrashant 2 жыл бұрын
welcome back 🙂🙂
@_g_r_m_
@_g_r_m_ 2 жыл бұрын
He's back!
@Tarodev
@Tarodev 2 жыл бұрын
Never left baby ... maybe a little
@OfflineOffie
@OfflineOffie 2 жыл бұрын
Nice quick explanation! _But where's the promised Quaternion video Taro, hmm?_
@Tarodev
@Tarodev 2 жыл бұрын
Oh yeah... that. Just around the corner
@mohammedamine5553
@mohammedamine5553 2 жыл бұрын
it worked! thank you so much!!
@captaindeeck
@captaindeeck 2 жыл бұрын
awesome explanation, thank you
@asmr_codster
@asmr_codster 2 жыл бұрын
Thanks for the video
@googleuser4720
@googleuser4720 2 жыл бұрын
Succinct and to the point. I like it
@mwn02
@mwn02 2 жыл бұрын
Great video!!!
@babbycakes173
@babbycakes173 2 жыл бұрын
that is a great video
@Tarodev
@Tarodev 2 жыл бұрын
Glad you like it
@jahoopyjaheepu497
@jahoopyjaheepu497 2 жыл бұрын
Great video! The tradeoffs with traditional Rigidbody collisions are why I almost always opt to write my own collision detection and resolution using a Kinematic Ridigbody.
@Algost_
@Algost_ 2 жыл бұрын
More like this plz ! Thx
@bluzenkk
@bluzenkk 2 жыл бұрын
thanks for the info.
@mayankbhaisora2699
@mayankbhaisora2699 2 жыл бұрын
Wizard is back
@Tarodev
@Tarodev 2 жыл бұрын
🧙‍♂️
@monishdhayalan2552
@monishdhayalan2552 2 жыл бұрын
quaternion made this man quit
@Tarodev
@Tarodev 2 жыл бұрын
Almost brother...
@alex.g7317
@alex.g7317 2 жыл бұрын
I love the tips!
@Tarodev
@Tarodev 2 жыл бұрын
Yeah you do 😉
@alex.g7317
@alex.g7317 2 жыл бұрын
@@Tarodev 😉
@midniteoilsoftware
@midniteoilsoftware 2 жыл бұрын
Nice but I want to see more on the new multiplayer services :)
@Tarodev
@Tarodev 2 жыл бұрын
Coming soon :D
@enescetinn
@enescetinn 2 жыл бұрын
Just awesome!
@tiagobarracha
@tiagobarracha 2 жыл бұрын
I use Physics.OverlapBox as the collider. This never misses (at least until now). I don't know about its performance, but I only make mobile games and never had an issue
@shoco2
@shoco2 2 жыл бұрын
Great video!
@DevDunkStudio
@DevDunkStudio 2 жыл бұрын
Thanks! Idk why, but this info is hard to find
@Tarodev
@Tarodev 2 жыл бұрын
Sounds like the perfect reason to make a video 😊
@DevDunkStudio
@DevDunkStudio 2 жыл бұрын
@@Tarodev definitely! Hope it does well
@Zooloo007
@Zooloo007 2 жыл бұрын
Wow thanks your the best!
@vladyslavlytovchenko5057
@vladyslavlytovchenko5057 Жыл бұрын
awesome explanation. thank you =)
@Xo1ot1
@Xo1ot1 2 жыл бұрын
Very helpful, thanks.
@calvinms7503
@calvinms7503 2 жыл бұрын
THANKS!
@Hazzel31337
@Hazzel31337 2 жыл бұрын
verry good and verry informativ
@kineticconundrum
@kineticconundrum 2 жыл бұрын
ty
@Ghareebz
@Ghareebz 2 жыл бұрын
great video
@hossein818
@hossein818 2 жыл бұрын
best as ever
@NunSuperior
@NunSuperior 2 жыл бұрын
Super useful.
@y01cu_yt
@y01cu_yt Ай бұрын
Thanks a lot the decent content!
@octia2817
@octia2817 Жыл бұрын
Is there no solution for accurate collisions with rotating objects?
@AhmetHakanBurkuk
@AhmetHakanBurkuk 2 жыл бұрын
Do you have any Mac version?
@Tarodev
@Tarodev 2 жыл бұрын
A mac version of what sir?
@onurcanbiricik9291
@onurcanbiricik9291 2 жыл бұрын
GOD!!!My broo
@trashcaster
@trashcaster 2 жыл бұрын
What is the best option to use in the case of a bullet-hell game or a game where a player may mod their weapons to fire 10s of projectiles per second, with 100s on screen? Ray Cast per projectile? Or the built in collider solution? I've attempted the raycast option before, but always had tunneling as well (as if the projectile just never "hit"), but with much better performance than rigidbody/colliders. I raycasted from the projectile, forward by units equal to the "travel speed" of the projectile, and even slow projectiles would occasionally just act like the ray cast missed
10 Things You NEED to Be Doing in Unity
11:40
Tarodev
Рет қаралды 137 М.
Improve Your Platformer with Forces | Examples in Unity
7:01
Dawnosaur
Рет қаралды 182 М.
It works #beatbox #tiktok
00:34
BeatboxJCOP
Рет қаралды 41 МЛН
Sigma Kid Mistake #funny #sigma
00:17
CRAZY GREAPA
Рет қаралды 30 МЛН
How To Render 2 Million Objects At 120 FPS
14:57
Tarodev
Рет қаралды 151 М.
How I made an Excellent Platformer
8:25
GoldenEvolution
Рет қаралды 296 М.
If You Can't Make Games After This Video...
4:37
Fredyy
Рет қаралды 1 МЛН
OPTIMIZE your Unity game using these performance tips | Tutorial
11:20
Sasquatch B Studios
Рет қаралды 24 М.
Polishing the Graphics for my Indie Game
6:31
Goodgis
Рет қаралды 77 М.
Portal with 3 parts: is this possible?
14:12
optozorax
Рет қаралды 79 М.
I Scraped the Entire Steam Catalog, Here’s the Data
11:29
Newbie Indie Game Dev
Рет қаралды 769 М.
It works #beatbox #tiktok
00:34
BeatboxJCOP
Рет қаралды 41 МЛН