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
Didn't think mc physics would involve so much... Penetration
@SethBling
2 ай бұрын
Good penetration mechanics are crucial if you want to get really physical.
@niko5008
2 ай бұрын
@@SethBlinggood penetration code in the one you can finish slowly and surely.
@ultimateo621
2 ай бұрын
@@SethBlingo:
@Howzieky
2 ай бұрын
Can't wait for Minecraft's Penetration Update
@arf101088
2 ай бұрын
my childhood has been decimated.
0:09 "I saved copies of the datapack as i worked on it" > Sees endless folders of old versions > Me: *Screams internally*
@triffnix
2 ай бұрын
cries in git
@erich_ika
2 ай бұрын
more like, git good edit: gotta respect how sethbling commited to it
@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
2 ай бұрын
Git is good _but you don’t need git_
@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
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
2 ай бұрын
Definitely look up the separating axis theorem and minimum translation vector, that's what finally made everything click for me.
@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!
Your outro gives me nostalgia from watching your videos 11 years ago. I'm glad it hasn't changed.
Your video about the minecraft physics engine got me even more interested in physics, Thanks!
@ruzgar1372
2 ай бұрын
I'm honestly just baffled as to how something like this was coded into Minecraft using only in-game commands.
I can't imagine the joy when you saw that the edge-edge colision was resolved. Impressive stuff!
@lememz
2 ай бұрын
cocoxixicoco
@MessyMasyn
2 ай бұрын
edging implemented
@Scratchfan321
2 ай бұрын
@@MessyMasyn edging implemented?🤨
@Skeke
2 ай бұрын
I remember you from Jovem Nerd's KSP school lol
6 weeks for this is insanely impressive
@jaskaranmehta8715
Ай бұрын
yes, why is nobody talking about this
@tate9952
Ай бұрын
6 WEEKS???? wtf i assumed it took like 6 months at least
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.
Mob ragdolls? 😮 loads of potential with this! Keep it up!
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
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.
You don't know the joy that the little "welcome back sethbling here" brings me
Your ability to simply explain such complex things is absolutely incredible. So glad you are back.
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
Just imagine the math behind the scenes of ragdoll physics you see in other games. Pretty crazy. Super interesting video!
My jaw dropped when I saw this notification
@godminnette2
2 ай бұрын
You must have missed his last video!
@turolretar
2 ай бұрын
Hey king you dropped this 💀
@1R4MgMYl7a
Ай бұрын
this guy's jaw dropped when he saw this notification
Still love your creativity Sethbling! Got the notification and dropped everything to come watch! :) Great video, love you man!
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.
the legend is back
Seth, I watched my first video of yours when I was 6. THE LEGEND IS BACK!!!
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
im so happy you are still around doing minecraft things
Can't wait to see the gravity gun
6 weeks Man creates an entire physics engine in the time it takes me to start considering doing something
He may have been absent from his Minecraft content for years, but he came back with something cool.
I'm so happy you're back with such informative videos, this is so good
@zacclark5945
2 ай бұрын
Nykra guy!
That's pretty sweet man. Love to see you back at it!
Love your stuff dude
We're so back. I'm so happy to have Sethbling in my feed again
Well done, with great effort comes great reward.
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.
I really enjoy it Seth!
sethbling makes me so happy
he's at it again, the madlad
I’m so glad you’re back 😊
I haven’t watched you in so long seth! hearing your still using the same outro song hits so hard!
Unbelievably happy to see you back
Welcome Seth, back is here
Thanks for this! Super interesting
Fantastic work.
Every new video you blow my mind.
This is awesome I wish I could program and know math and physics like you
I like your funny words, magic man
Great work !
Seeing you upload things done in Minecraft that I wouldn't have even thought possible again is very nostalgic.
Seth is back, baby!
You did this in 6 weeks? That's crazy, good job!
cant describe the feeling i got hearing Kevin Macleod at the end
great vid!
I love your videos, you are the best❤❤❤😇😊
Amazing!
You're incredibly smart! I wouldn't even know where to begin trying to make something like that.
@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!
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
Love you sethbling!!!!
i hope you know how many day’s you’re making by posting again. thank you seth :)
The prodigy returns!
hell yeah! this is sick.
Good lord this is awesome.
SethBling is back ive missed your videos man
This is actually more solid than alike mods
The Return Of The King
holy
@Back-Track
2 ай бұрын
hell
@XIIchiron78
2 ай бұрын
Me seeing this notification: WHAT YEAR IS IT
@skull_is_dull
2 ай бұрын
@@Back-Tracknew
@Vodboi
2 ай бұрын
@@skull_is_dullresponse
Sweet Now add the gravity gun
hes back 💯
I cant wait for you to keep up with this new biweekly upload schedule!
Very, very cool.
sethbling the goat returns
BY GOD YOU ARE ALIVE
Well this certainly makes me appreciate the physics engine recently implemented into the Create mod.
KZread Videos? Minecraft ones? Are you sick? Welcome back :D
Almost teared up hearing “welcome back Sethbling here” 😢
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
i love you sethbling
Great! Just Great!
He is so back
I was watching your vids yesterday then you pull this. Omg wb
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
awesome!
The king returns
This is epic
holy shit he's back
I didn't understand anything but I still enjoyed watching!
Honestly when Gnembon got hired by mojang i was surprise that Sethbling is still doing Mario runs and haven't got hired
Return of the GOAT
welcome back, Sethbling. Here on youtube. ❤️
Legend
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.
hope you stay man
Now you need to create density for each object!!
Impressive :0
hearing quaternions mentioned again gave me some scary flashbacks to past projects
Ah that is so frustrating if it is an error in the book you are using!
this is epic
plosives 💥💥
@Emolga2225
2 ай бұрын
sometimes you forget about plosives. off-axis mics feel so wrong
HE'S BACK!!!!
i have no words
HES BACK!!!!
WELCOME BACK SETHBLING (here)
The outro is strangly nostalgic
The goat
imagine if we could step on top of them, would be soo cool