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