Making Physics: My Step-by-Step Journey to Create a Minecraft Physics Engine

Ойындар

I saved every step along the way to create my Minecraft physics engine datapack, and in this video I take you through that journey.
Download the Datapack: sethbling.s3.us-west-2.amazon...
SethBling Twitter: / sethbling
SethBling Twitch: / sethbling
Music: "Cipher"
Kevin MacLeod (incompetech.com)
Licensed under Creative Commons: By Attribution 3.0
creativecommons.org/licenses/b...

Пікірлер: 265

  • @CraftyMasterman
    @CraftyMasterman2 ай бұрын

    Didn't think mc physics would involve so much... Penetration

  • @SethBling

    @SethBling

    2 ай бұрын

    Good penetration mechanics are crucial if you want to get really physical.

  • @niko5008

    @niko5008

    2 ай бұрын

    ​@@SethBlinggood penetration code in the one you can finish slowly and surely.

  • @ultimateo621

    @ultimateo621

    2 ай бұрын

    @@SethBlingo:

  • @Howzieky

    @Howzieky

    2 ай бұрын

    Can't wait for Minecraft's Penetration Update

  • @arf101088

    @arf101088

    2 ай бұрын

    my childhood has been decimated.

  • @Zeragamba
    @Zeragamba2 ай бұрын

    0:09 "I saved copies of the datapack as i worked on it" > Sees endless folders of old versions > Me: *Screams internally*

  • @triffnix

    @triffnix

    2 ай бұрын

    cries in git

  • @erich_ika

    @erich_ika

    2 ай бұрын

    more like, git good edit: gotta respect how sethbling commited to it

  • @Nightcaat

    @Nightcaat

    2 ай бұрын

    There’s no way he doesn’t know about Git right Edit: I just checked the last vid, he’s on GitHub. Is he trolling 😭

  • @TheosTechTime

    @TheosTechTime

    2 ай бұрын

    Git is good _but you don’t need git_

  • @luna010

    @luna010

    2 ай бұрын

    @@TheosTechTime the only time you dont need git is when you're using SVN or mercurial or some other less popular version control software

  • @NTSHOni
    @NTSHOni2 ай бұрын

    I'm making my own game engine and the physics engine is definitely the hardest part I've worked on (I fixed an issue with OBB-OBB collision just today, where some edges weren't detected as colliding), there aren't as many resources about collision detection algorithms in 3D on internet as I thought when I started, your implementation looks really sick! Congrats!

  • @SethBling

    @SethBling

    2 ай бұрын

    Definitely look up the separating axis theorem and minimum translation vector, that's what finally made everything click for me.

  • @NTSHOni

    @NTSHOni

    2 ай бұрын

    @@SethBling Yes I'm also using SAT. To get the colliding points, I'm using the method described in Game Physics Cookbook by Gabor Szauer, where you clip each boxA's edges to boxB's planes and vice-versa, didn't know about minimum translation vector so I will look into it though, thanks!

  • @ferventblack
    @ferventblack2 ай бұрын

    Your outro gives me nostalgia from watching your videos 11 years ago. I'm glad it hasn't changed.

  • @ETORERIGO
    @ETORERIGO2 ай бұрын

    Your video about the minecraft physics engine got me even more interested in physics, Thanks!

  • @ruzgar1372

    @ruzgar1372

    2 ай бұрын

    I'm honestly just baffled as to how something like this was coded into Minecraft using only in-game commands.

  • @pesterenan
    @pesterenan2 ай бұрын

    I can't imagine the joy when you saw that the edge-edge colision was resolved. Impressive stuff!

  • @lememz

    @lememz

    2 ай бұрын

    cocoxixicoco

  • @MessyMasyn

    @MessyMasyn

    2 ай бұрын

    edging implemented

  • @Scratchfan321

    @Scratchfan321

    2 ай бұрын

    @@MessyMasyn edging implemented?🤨

  • @Skeke

    @Skeke

    2 ай бұрын

    I remember you from Jovem Nerd's KSP school lol

  • @pvic6959
    @pvic69592 ай бұрын

    6 weeks for this is insanely impressive

  • @jaskaranmehta8715

    @jaskaranmehta8715

    Ай бұрын

    yes, why is nobody talking about this

  • @tate9952

    @tate9952

    Ай бұрын

    6 WEEKS???? wtf i assumed it took like 6 months at least

  • @shripperquats5872
    @shripperquats58722 ай бұрын

    Of course it would be sethbling to develop something this insane. An old god awakening from his slumber to wreak magic on the minecraft plane.

  • @Atombombz7
    @Atombombz72 ай бұрын

    Mob ragdolls? 😮 loads of potential with this! Keep it up!

  • @Laully
    @Laully2 ай бұрын

    You make me want to get back into programming, man. You make it sound too easy while I'm over here just knowing I'd give up immediately.

  • @cameron7374

    @cameron7374

    2 ай бұрын

    I mean, he makes it sound easy but that's partly because he managed to compress 6 weeks of work into 9 minutes of video.

  • @Praecantetia
    @Praecantetia2 ай бұрын

    You don't know the joy that the little "welcome back sethbling here" brings me

  • @Cats-TM
    @Cats-TM2 ай бұрын

    Your ability to simply explain such complex things is absolutely incredible. So glad you are back.

  • @scubastevedan
    @scubastevedan2 ай бұрын

    Whenever I watch this guy's videos it makes me feel like I'm back in 2011, And that makes me happy. Thank you @SethBling

  • @Frrk
    @Frrk2 ай бұрын

    Just imagine the math behind the scenes of ragdoll physics you see in other games. Pretty crazy. Super interesting video!

  • @Perrypool09
    @Perrypool092 ай бұрын

    My jaw dropped when I saw this notification

  • @godminnette2

    @godminnette2

    2 ай бұрын

    You must have missed his last video!

  • @turolretar

    @turolretar

    2 ай бұрын

    Hey king you dropped this 💀

  • @1R4MgMYl7a

    @1R4MgMYl7a

    Ай бұрын

    this guy's jaw dropped when he saw this notification

  • @Tenetri
    @Tenetri2 ай бұрын

    Still love your creativity Sethbling! Got the notification and dropped everything to come watch! :) Great video, love you man!

  • @Joziah3
    @Joziah32 ай бұрын

    I'm still in disbelief that my work-in-progress hitbox re-implementation with SAT was outshined by Sethbling. I thought you'd retired haha! Astounding work, I definitely need to download and reference this to see if I can figure out the problems I was having haha.

  • @girres43
    @girres432 ай бұрын

    the legend is back

  • @benbower9510
    @benbower95102 ай бұрын

    Seth, I watched my first video of yours when I was 6. THE LEGEND IS BACK!!!

  • @colbydoan2836
    @colbydoan28362 ай бұрын

    It so happens that i was about to start implementing physics in my own (more traditional) game engine when you finished yours! Now i really cant wait to get started

  • @Microextent
    @Microextent2 ай бұрын

    im so happy you are still around doing minecraft things

  • @efrandsen72
    @efrandsen722 ай бұрын

    Can't wait to see the gravity gun

  • @ValentineC137
    @ValentineC1372 ай бұрын

    6 weeks Man creates an entire physics engine in the time it takes me to start considering doing something

  • @Inspirator_AG112
    @Inspirator_AG1122 ай бұрын

    He may have been absent from his Minecraft content for years, but he came back with something cool.

  • @ENDESGA
    @ENDESGA2 ай бұрын

    I'm so happy you're back with such informative videos, this is so good

  • @zacclark5945

    @zacclark5945

    2 ай бұрын

    Nykra guy!

  • @coltynstone-lamontagne
    @coltynstone-lamontagne2 ай бұрын

    That's pretty sweet man. Love to see you back at it!

  • @Plumpyfoo
    @Plumpyfoo2 ай бұрын

    Love your stuff dude

  • @Keatosis_Quohotos
    @Keatosis_Quohotos2 ай бұрын

    We're so back. I'm so happy to have Sethbling in my feed again

  • @thechurchofsleep
    @thechurchofsleep2 ай бұрын

    Well done, with great effort comes great reward.

  • @contomo5710
    @contomo57102 ай бұрын

    btw the collision particles are super nice for debugging, i think you could implement some more modes, one with debuggung with some really visible particles that highlight eges etc in different colors, and one where colliding parts spawn in smoke particles that fly away, like dust.

  • @madtrippy56
    @madtrippy562 ай бұрын

    I really enjoy it Seth!

  • @idk-mg9rh
    @idk-mg9rh2 ай бұрын

    sethbling makes me so happy

  • @gibbyfromicarlybestshow986
    @gibbyfromicarlybestshow9862 ай бұрын

    he's at it again, the madlad

  • @markm0000
    @markm00002 ай бұрын

    I’m so glad you’re back 😊

  • @sinkcat0113
    @sinkcat01132 ай бұрын

    I haven’t watched you in so long seth! hearing your still using the same outro song hits so hard!

  • @Nightcaat
    @Nightcaat2 ай бұрын

    Unbelievably happy to see you back

  • @kacpjant
    @kacpjant2 ай бұрын

    Welcome Seth, back is here

  • @Dracstar
    @Dracstar2 ай бұрын

    Thanks for this! Super interesting

  • @wonkywonky6307
    @wonkywonky63072 ай бұрын

    Fantastic work.

  • @aPumpkn
    @aPumpkn2 ай бұрын

    Every new video you blow my mind.

  • @nzbdv
    @nzbdv2 ай бұрын

    This is awesome I wish I could program and know math and physics like you

  • @lightningvini
    @lightningvini2 ай бұрын

    I like your funny words, magic man

  • @Scorpionem
    @Scorpionem2 ай бұрын

    Great work !

  • @lamborn3D
    @lamborn3D2 ай бұрын

    Seeing you upload things done in Minecraft that I wouldn't have even thought possible again is very nostalgic.

  • @dougowner
    @dougowner2 ай бұрын

    Seth is back, baby!

  • @ScriptCoded
    @ScriptCoded2 ай бұрын

    You did this in 6 weeks? That's crazy, good job!

  • @okpooka
    @okpooka2 ай бұрын

    cant describe the feeling i got hearing Kevin Macleod at the end

  • @delicate6930
    @delicate69302 ай бұрын

    great vid!

  • @SSAFI2024
    @SSAFI20242 ай бұрын

    I love your videos, you are the best❤❤❤😇😊

  • @gamingbutnotreally6077
    @gamingbutnotreally60772 ай бұрын

    Amazing!

  • @jonathanward2527
    @jonathanward25272 ай бұрын

    You're incredibly smart! I wouldn't even know where to begin trying to make something like that.

  • @SethBling

    @SethBling

    2 ай бұрын

    It's important to realize that I didn't either. That's why I read a text book. No one is born knowing how to write a physics engine!

  • @robo1540
    @robo15402 ай бұрын

    if you could add block dust particles where the cube collides with the world that would be really cool, maybe have the amount and velocity of particles be based on the velocity of the physics cube EDIT: maybe even add sounds where the volume coresponds to velocity and the pitch corresponds to either velocity or size of the physics cube

  • @cameronfoster5838
    @cameronfoster58382 ай бұрын

    Love you sethbling!!!!

  • @emnersonn
    @emnersonn2 ай бұрын

    i hope you know how many day’s you’re making by posting again. thank you seth :)

  • @Hyperion_100
    @Hyperion_1002 ай бұрын

    The prodigy returns!

  • @indigoaway6
    @indigoaway62 ай бұрын

    hell yeah! this is sick.

  • @DavidStapley0982
    @DavidStapley09822 ай бұрын

    Good lord this is awesome.

  • @DJTRM
    @DJTRM2 ай бұрын

    SethBling is back ive missed your videos man

  • @monstandalone7339
    @monstandalone73392 ай бұрын

    This is actually more solid than alike mods

  • @HightimeSadness
    @HightimeSadness2 ай бұрын

    The Return Of The King

  • @OtakuG
    @OtakuG2 ай бұрын

    holy

  • @Back-Track

    @Back-Track

    2 ай бұрын

    hell

  • @XIIchiron78

    @XIIchiron78

    2 ай бұрын

    Me seeing this notification: WHAT YEAR IS IT

  • @skull_is_dull

    @skull_is_dull

    2 ай бұрын

    @@Back-Tracknew

  • @Vodboi

    @Vodboi

    2 ай бұрын

    @@skull_is_dullresponse

  • @CreatorofSecks
    @CreatorofSecks2 ай бұрын

    Sweet Now add the gravity gun

  • @bobbybuckley2346
    @bobbybuckley23462 ай бұрын

    hes back 💯

  • @cupofdirtfordinner
    @cupofdirtfordinner2 ай бұрын

    I cant wait for you to keep up with this new biweekly upload schedule!

  • @607
    @6072 ай бұрын

    Very, very cool.

  • @waffling0
    @waffling02 ай бұрын

    sethbling the goat returns

  • @crowickedone4037
    @crowickedone40372 ай бұрын

    BY GOD YOU ARE ALIVE

  • @Caffin8tor
    @Caffin8tor2 ай бұрын

    Well this certainly makes me appreciate the physics engine recently implemented into the Create mod.

  • @CatzHoek
    @CatzHoek2 ай бұрын

    KZread Videos? Minecraft ones? Are you sick? Welcome back :D

  • @iiPrr
    @iiPrr2 ай бұрын

    Almost teared up hearing “welcome back Sethbling here” 😢

  • @Howzieky
    @Howzieky2 ай бұрын

    This is insanely cool. How difficult would it be to add joints between cubes? Fixed joints and rotating joints would be really cool to see. I'd also be interested in seeing non cubic physics boxes

  • @williamist
    @williamist2 ай бұрын

    i love you sethbling

  • @wulfens8891
    @wulfens8891Ай бұрын

    Great! Just Great!

  • @xxthelinkxx3296
    @xxthelinkxx32962 ай бұрын

    He is so back

  • @cyberjoel
    @cyberjoel2 ай бұрын

    I was watching your vids yesterday then you pull this. Omg wb

  • @MrNateisgreat999
    @MrNateisgreat9992 ай бұрын

    Just showed this to 1st and 2d graders obsessed with minecraft, explained how the math they’re learning now are the fundamentals for making this lol

  • @bananatassium7009
    @bananatassium70092 ай бұрын

    awesome!

  • @EPICMAN10
    @EPICMAN102 ай бұрын

    The king returns

  • @ObjectGuy
    @ObjectGuy2 ай бұрын

    This is epic

  • @caidencollins7696
    @caidencollins76962 ай бұрын

    holy shit he's back

  • @NiaSwift
    @NiaSwift2 ай бұрын

    I didn't understand anything but I still enjoyed watching!

  • @dagamer23ph
    @dagamer23ph2 ай бұрын

    Honestly when Gnembon got hired by mojang i was surprise that Sethbling is still doing Mario runs and haven't got hired

  • @McNibbler
    @McNibbler2 ай бұрын

    Return of the GOAT

  • @ChevronQ
    @ChevronQ2 ай бұрын

    welcome back, Sethbling. Here on youtube. ❤️

  • @gibberishdump1610
    @gibberishdump16102 ай бұрын

    Legend

  • @baseballjustin5
    @baseballjustin52 ай бұрын

    If you want some fun Physics and Math videos, I suggest "Animation vs Math" (And "Vs Physics") by Alan Becker. very fun "basic" representations into Math and Physics concepts. It goes very deep, but walks you through it fairly well.

  • @WriggleNightbug
    @WriggleNightbug2 ай бұрын

    hope you stay man

  • @krypticreality1485
    @krypticreality14852 ай бұрын

    Now you need to create density for each object!!

  • @LineOfThy
    @LineOfThy2 ай бұрын

    Impressive :0

  • @origamihawk
    @origamihawk2 ай бұрын

    hearing quaternions mentioned again gave me some scary flashbacks to past projects

  • @boas_
    @boas_2 ай бұрын

    Ah that is so frustrating if it is an error in the book you are using!

  • @rilltan
    @rilltan2 ай бұрын

    this is epic

  • @lelluc
    @lelluc2 ай бұрын

    plosives 💥💥

  • @Emolga2225

    @Emolga2225

    2 ай бұрын

    sometimes you forget about plosives. off-axis mics feel so wrong

  • @purplepeak8575
    @purplepeak85752 ай бұрын

    HE'S BACK!!!!

  • @Samstercraft77
    @Samstercraft772 ай бұрын

    i have no words

  • @shakydotexe6574
    @shakydotexe65742 ай бұрын

    HES BACK!!!!

  • @AlmondChocolateMilk
    @AlmondChocolateMilk2 ай бұрын

    WELCOME BACK SETHBLING (here)

  • @darkcode4044
    @darkcode40442 ай бұрын

    The outro is strangly nostalgic

  • @whitdodge
    @whitdodge2 ай бұрын

    The goat

  • @afmetz
    @afmetz2 ай бұрын

    imagine if we could step on top of them, would be soo cool

Келесі