Visualizing Collision Detection -- Separating Axis Theorem Explained with a Minecraft Datapack

  Рет қаралды 88,245

SethBling

SethBling

Күн бұрын

I describe and visualize the Separating Axis Theorem, and how to use it to detect and resolve collisions between oriented boxes.
Datapack CBScript Source: github.com/SethBling/cbscript...
SethBling Twitter: / sethbling
SethBling Twitch: / sethbling
Music: "Cipher"
Kevin MacLeod (incompetech.com)
Licensed under Creative Commons: By Attribution 3.0
creativecommons.org/licenses/b...

Пікірлер: 199
@sonofmeh3182
@sonofmeh3182 Ай бұрын
What's crazy is that I started watching Sethbling when I was very young. Now I'm an engineering student and I can actually understand the math he's talking about now! How time flies.
@meowjustme6865
@meowjustme6865 Ай бұрын
How do you feel now that you understand the math?
@dantesk1836
@dantesk1836 Ай бұрын
Same 😂❤
@Coael
@Coael Ай бұрын
bro sethblings return has fed my need for these videos
@Cuestrupaster
@Cuestrupaster Ай бұрын
If you want more videos that are kinda like this I recommend WhiteStoneJazz specially his video about why mobs tend to go up and the pattern series.
@triq0
@triq0 Ай бұрын
i have never encountered this subject in my life but now i feel like i understand it completely, this was very well explained
@codinghuman9954
@codinghuman9954 Ай бұрын
I have and this is the best explanation ive seen
@DonnaPinciot
@DonnaPinciot Ай бұрын
Huh, rotated cuboid collision detection is exactly the sort of thing I've been trying to learn recently. Maybe this will help!
@Nsta1
@Nsta1 Ай бұрын
Very nice visualization of projections and the Separating Axis Theorem. Well done!
@ruthlessyoungman6562
@ruthlessyoungman6562 Ай бұрын
ChatGPT ass comment
@Poly_0000
@Poly_0000 Ай бұрын
How cool that the math just works out like that
@zackbuildit88
@zackbuildit88 Ай бұрын
That's what makes it math :]
@boltstrikes429
@boltstrikes429 Ай бұрын
You're encouraged to dig into it and find out *why* it works out like that :D
@josephgoldsborough9138
@josephgoldsborough9138 Ай бұрын
I miss watching sethbling videos i barely comprehend, feels like old times
@Praecantetia
@Praecantetia Ай бұрын
Ikr. Man this guy is singlehandedly responsible for me getting into IT
@cubeoi
@cubeoi Ай бұрын
interesting, there's barely any videos on youtube covering collision detection with this so thank you for making this
@NeunEinser
@NeunEinser Ай бұрын
"Hope you learned something new". In fact, there was nothing in this video that I already knew, everything was new to me. And it was very nicely explained to, so while I definitely understand the basics of what was said. Nice video 😊
@Seedx
@Seedx Ай бұрын
Minecraft + physics + math + programming. Love it
@DiggoryJiggory
@DiggoryJiggory Ай бұрын
Insane how you explained this in an actually understandable manner
@haydoge
@haydoge Ай бұрын
The return of the return of the king
@kaihang4685
@kaihang4685 Ай бұрын
For those of us who began our engineering journey with Redstone, I acknowledge Sethbling as my first professor and Etho as my second.
@dylaann
@dylaann Ай бұрын
This 5 minute video just taught me more about 3d physics and collision detection than any of my college game dev courses so far lmfao SethBling can't be stopped
@henryfleischer404
@henryfleischer404 Ай бұрын
Nice. I've been getting into game development in the Godot engine, and this has helped me understand why concave collisions don't work as well as convex ones.
@OliBomby
@OliBomby Ай бұрын
This is the first time I understand the separating axis theorem. That's so useful!
@poisonshroom64
@poisonshroom64 Ай бұрын
thank you for incidentally giving me the clearest, most concise definition of cross product i've ever heard
@jakeboiyes
@jakeboiyes Ай бұрын
SETHBLING KEEP UPLOADING!!!!
@JohnKerrashVirgo
@JohnKerrashVirgo Ай бұрын
Thanks Seth. I have only ever used AABB before, this was new to me.
@johnsledge3942
@johnsledge3942 Ай бұрын
Wow this was surprisingly easy to understand and really clear. Well done!! Physics engines are incredibly fascinating.
@yeldarb300
@yeldarb300 Ай бұрын
Sethbling using advanced calculus and differential equations in redstone. This man has ascended to new levels. From making computers in mc to full physics engines. If mumbo is redstone jesus, sethbling is the redstone god.
@Praecantetia
@Praecantetia Ай бұрын
I knew that datapacks would make him too powerful
@ThaBabris
@ThaBabris Ай бұрын
Excellent explanation and visualization! PS. The outro was so comforting, probably thanks to the added nostalgia.
@qazwsxedcrfvtgbyh480
@qazwsxedcrfvtgbyh480 Ай бұрын
This is amazing I never thought i would see something this complicated in minecraft before today but here we are
@Technoguyfication
@Technoguyfication Ай бұрын
I had no idea how much I needed Sethbling to come back until now
@pvic6959
@pvic6959 Ай бұрын
is this the sethbling renaissance???? im HERE for it!!
@WhiskeyDip
@WhiskeyDip Ай бұрын
I love how much you are enjoying making these
@a_d_z_y__
@a_d_z_y__ Ай бұрын
The visuals are just the best I have ever seen to explain collision axes
@baconator8804
@baconator8804 Ай бұрын
Do I understand any of these videos that he has recently posted? No. Do I care? No. I'm interested and happy that this guy has come back to youtube.
@realscapegoat592
@realscapegoat592 Ай бұрын
HE'S REALLY BACK THIS IS THE BEST THING TO EVER HAPPEN TO KZbin
@lordmarum
@lordmarum Ай бұрын
I love this kind of physics solutions, thank you for the showcase!
@Drrobverjones
@Drrobverjones Ай бұрын
These have been banger videos breaking down parts of the engine. Super cool.
@mxcop
@mxcop Ай бұрын
Thanks for the awesome visuals! Made it so much easier to grasp the concept.
@Hero.S
@Hero.S Ай бұрын
I love vectors, they are just so cool
@AbsolutelyPlasmadic
@AbsolutelyPlasmadic Ай бұрын
I'm glad you're back
@gunnararc
@gunnararc Ай бұрын
Nice video, good explanation! My master thesis dealt with this problem but for general concave shapes, which makes everything way harder.
@300PIVOTMASTER
@300PIVOTMASTER Ай бұрын
one of the best explanations of SAT i’ve seen
@daithi4258
@daithi4258 Ай бұрын
watching this comeback is so much fun!!
@mortal465
@mortal465 Ай бұрын
I'm so glad I took linear algebra, this video makes so much sense now. Great video as always!
@RDG-01
@RDG-01 Ай бұрын
First sethbling video ive watched in literal years and i immediately learn something new. You never changed, brother. ❤
@PixelsimulationoftrueYouKnow
@PixelsimulationoftrueYouKnow Ай бұрын
I don't have notifs for you, how the hell did I know you posted.
@PeChips
@PeChips Ай бұрын
Thx for the video, it was very interesting ! Eager to see the next ones !
@Wyrmver
@Wyrmver Ай бұрын
you make me cry tears of nostalgia
@1_1bman
@1_1bman Ай бұрын
ooh! i was wondering about the separating axis theorem, honestly thank you!
@JohnSmith-oc6mr
@JohnSmith-oc6mr Ай бұрын
I forgot this guy existed! Welcome back.
@FemMushroom
@FemMushroom Ай бұрын
I am learning. Thanks mr. bling.
@bailey6408
@bailey6408 Ай бұрын
Never thought I’d see the day. My childhood returns. Keep up the work Seth!!!
@arandominternetuser5614
@arandominternetuser5614 Ай бұрын
woo more sethbling
@Peter-tq1hr
@Peter-tq1hr Ай бұрын
Keep it up Seth, love it
@yarikzhiga
@yarikzhiga Ай бұрын
Congrats on 2m btw 🎉
@oposdeo
@oposdeo Ай бұрын
This is insanely imformative. Thanks!!!
@EssigSaureEthylEster
@EssigSaureEthylEster Ай бұрын
HOLY SHIT! quick and simple explanation of collision detection between blocks for easy implementation And you prefectly demonstrated how well you know this subject!
@Christmasprancer
@Christmasprancer Ай бұрын
Congratulations on 2m subs 🎉
@ZakiAsir
@ZakiAsir Ай бұрын
im so happy youre back
@NoChillAustin
@NoChillAustin Ай бұрын
Congrats on 2m subs!!
@pietwachti
@pietwachti Ай бұрын
looks, amazing!
@movingheadmau8128
@movingheadmau8128 Ай бұрын
Very well explained, thank you for the video!
@dialog_box
@dialog_box Ай бұрын
This comment section fills me with so much love and joy! So many peers having the same nostalgic experiences
@CaspianR
@CaspianR Ай бұрын
This is achely really helpful have trying to figur out how to do this and this video helps
@thacuber2a03
@thacuber2a03 Ай бұрын
yessss, there isn't much stuff about physics in KZbin than there should be ❤
@user-fc8xw4fi5v
@user-fc8xw4fi5v Ай бұрын
The Return of the King
@jexalinne5959
@jexalinne5959 Ай бұрын
i love vectors, geometric algebra, and physics engine stuff: this is so cool! thanks for explanation!
@joshuasims5421
@joshuasims5421 Ай бұрын
So cool to see the math underlying game development!
@matheuspamplona1850
@matheuspamplona1850 Ай бұрын
"welcome back, sethbling here" BOY DOES THAT FEEL GOOD
@bo6142
@bo6142 Ай бұрын
2024 and SethBling is still breaking the laws of Minecraft.
@DemonixTB
@DemonixTB Ай бұрын
Neat! I've only ever learned about aligned axis cuboids, general squares, and fully general 3D (convex but you can stitch multiple together for concave) shapes (via GJK - Gilbert-Johnson-Keerthi algorithm)
@adlsfreund
@adlsfreund Ай бұрын
Really well explained. I was surprised that the 15 axes can also give the smallest possible movement to separate the cubes.
@wardyorgason
@wardyorgason Ай бұрын
This definitely went over my head
@coltynstone-lamontagne
@coltynstone-lamontagne Ай бұрын
That's a super cool trick! They must've been very pleased with themselves when they created it!
@scatological2538
@scatological2538 Ай бұрын
sethbling i love you
@3ncy
@3ncy Ай бұрын
Thanks, this might come useful sometime!
@Dootsauce
@Dootsauce Ай бұрын
Finally another educational video from the goat himself!! , thank you so much for these types of content!!
@ianmoore5502
@ianmoore5502 Ай бұрын
This is brilliant
@caidencollins7696
@caidencollins7696 Ай бұрын
thanks for making math cool seth.
@sojiro288
@sojiro288 Ай бұрын
When your math teacher tells you you'll need this later in life, this is that moment.
@liamb4953
@liamb4953 Ай бұрын
sethbling the goat
@michaellatsky
@michaellatsky Ай бұрын
that outro song gives me NOSTAGIA. YO....
@sphereron
@sphereron Ай бұрын
I would be interested in the proof for the separated axis theorem, perhaps another video idea?
@amberblyledge7859
@amberblyledge7859 Ай бұрын
Sethbling, Man, myth, Legend, Minecraft god.
@alexonmars5972
@alexonmars5972 Ай бұрын
For those curious, this theorem generalizes to any n-dimensional euclidean space, where if two convex subsets are disjoint, there exists an (n-1)-dimensional hyperplane separating them
@quintencabo
@quintencabo Ай бұрын
I love this thanks
@carlsagan9808
@carlsagan9808 Ай бұрын
I love the separating axis theorem
@beepboopitsjoop4678
@beepboopitsjoop4678 Ай бұрын
This is so damn cool omfg
@nielsbishere
@nielsbishere Ай бұрын
wow I had no idea it was that easy once you lay it out like that. Just 2x 3x2 plane projections for the face -> corners and 2x 3x3 for the edge collisions. The dot is then the distance.
@xanderlastname3281
@xanderlastname3281 Ай бұрын
Sheesh why learn physics from school when you can learn physics from Sethbling
@molybd3num823
@molybd3num823 Ай бұрын
thank you very much
@jayrony3509
@jayrony3509 4 күн бұрын
I understood barely anything but this is very cool
@hps362
@hps362 Ай бұрын
I love this video
@Dracstar
@Dracstar Ай бұрын
Smart guy over here! 😎
@hoothoot7122
@hoothoot7122 Ай бұрын
Bros is so back
@zepicness
@zepicness Ай бұрын
Sethbling living 25 updates ahead as usual
@Praecantetia
@Praecantetia Ай бұрын
Glad to know that this never changed
@qualquerum2395
@qualquerum2395 Ай бұрын
Math sure is magical
@maksiksq
@maksiksq Ай бұрын
That is so hella smart.
@cebo494
@cebo494 Ай бұрын
Just learned more in 5 minutes than I did during my 4 year CS degree.
@ginger_lemon5159
@ginger_lemon5159 Ай бұрын
Cool theorem
@zacvh
@zacvh Ай бұрын
My engineering classes actually coming in handy
@dryft7906
@dryft7906 Ай бұрын
thank you, seth "macfarlane" bling
@briancheck2901
@briancheck2901 Ай бұрын
Watching these videos makes me feel like I’m in middle school again
@bomblii
@bomblii Ай бұрын
I LOVE MATH!!!!!
@dedede5586
@dedede5586 Ай бұрын
same outro and everything 😭 i might cry from happiness
@Luna-fn2nv
@Luna-fn2nv Ай бұрын
Just smile and nod everyone, he's definitely right
Better Mountain Generators That Aren't Perlin Noise or Erosion
18:09
Josh's Channel
Рет қаралды 237 М.
GADGETS VS HACKS || Random Useful Tools For your child #hacks #gadgets
00:35
SHE WANTED CHIPS, BUT SHE GOT CARROTS 🤣🥕
00:19
OKUNJATA
Рет қаралды 4,5 МЛН
Маленькая и средняя фанта
00:56
Multi DO Smile Russian
Рет қаралды 2,5 МЛН
Giving Personality to Procedural Animations using Math
15:30
t3ssel8r
Рет қаралды 2,3 МЛН
SNES Code Injection -- Flappy Bird in SMW
6:31
SethBling
Рет қаралды 2,8 МЛН
Minecraft Kinect Charades w/Etho, Guude & CaptainSparklez
16:11
SethBling
Рет қаралды 1,5 МЛН
Wallstone: Minecraft's Stupidest Form of Redstone
11:28
Squibble
Рет қаралды 228 М.
When Your Game Is Bad But Your Optimisation Is Genius
8:52
Vercidium
Рет қаралды 1,3 МЛН
I Made a Graph of Wikipedia... This Is What I Found
19:44
adumb
Рет қаралды 2,1 МЛН
Blazingly Fast Greedy Mesher - Voxel Engine Optimizations
23:35
I Optimised My Game Engine Up To 12000 FPS
11:58
Vercidium
Рет қаралды 442 М.
The Minecraft boat-drop mystery
16:41
Stand-up Maths
Рет қаралды 838 М.
Help Herobrine Learn Piano with Saitama Sensei #minecraftshorts
0:51
BigBlockCraft
Рет қаралды 31 МЛН
train rush part 7722 #shorts #viral #trending
0:54
voxzon gaming
Рет қаралды 22 МЛН