I Made A Physics Engine

preview_player
Показать описание
Physics Engine. I decided to make my own my goal was to create a physics engine that can handle stuff that Unity usually does for you like rigidbodies!

➤My Links:

➤Similar Videos:

➤Ignore:
I created my own physics engine. I tried to make it as much like unity so that I can flex and show others that I can actually do something in my life. I created features like colliding objects, velocity, acceleration, gravity and much more. I spent a lot of time working on my rendering engine to allow me to draw 2D and 3D shapes on the screen. I got inspired by jdh and Dani to start making videos again so here is this. Also I ended up submitting this project for my university assignment and somehow actually passed lol.

#gamedev #zyger #gameengine
Рекомендации по теме
Комментарии
Автор

The title "I AM LOSING MY MIND" definitely sounds accurate when trying to build a physics engine from scratch

CodeMonkeyUnity
Автор

Sometimes you gotta do it to appreciate game engines even more

cornelius
Автор

Assuming you have yours that we can use now open source, the building blocks and the intricates of physics can really overwhelm a seasoned physicists head, and yours is blown but still in there clear headed giving upper cuts to procrastinating doing something requiring this kind of effort, congratulations, liked to watch your introduction!

unraveledultimatefate
Автор

I think you should try resolving collisions instead of pushing them or moving both apart. There are a few algorithms I would suggest like the Separating Axis Theorem or GJK. This will make it so objects don't intersect with each other. Another thing would be a spacial partitioning tree for faster collision detection. I could go on about physics engines as I made a 2D one myself and will make a 3D one in the future with all the features. For buoyancy you can check the volume of the intersection between the plane and sphere and add a buoyant force * volume.

mariovelez
Автор

I'm also making a physics engine, and I can say that the window title "I AM LOSING MY MIND" is in fact relatable

kenan
Автор

Really good video, keep this style of content going!!

WezWesley
Автор

I really like this, been meaning to do the same. build out some more primitive functionality from scratch to see how game engines work. But alas, as a web developer all the maths go over my head. thank you for the video documenting your experience on this.

JC-jzrx
Автор

this video is amazing...i love how good u explain the theory!

SmolRoachez
Автор

i like the maple story sound effects, very nice.

oh and the engine showcase was cool too I guess

aldeezy
Автор

I want to point out that if you neglect water friction, a body will oscillate if you put it in the water because of the boyancy. Maybe that is what's happening in your code

papaveneti
Автор

This hurts. A physics engine is quit a bit more than this baby stuff.

horstschlawutzke
Автор

Reasons to make your own physics engine:
1. Masochism
2. ???

LethalChicken
Автор

Honestly I love this content, it may not be a super complicated physics engine, but it’s fun and simple

kubic-c
Автор

I keep making stuff like this, and its hilarious how all the engine devs are like 'No no but it doesnt help me!!!' its funny how you constantly justify when really, its fine to use libraries and stuff to do things

spacefishaviation
Автор

Nice work! You learned a lot in a short amount of time.

dandymcgee
Автор

That's really cool, I've been interested in trying something simliar but haven't gotten around to it. Great video!

Ozown
Автор

people doing this kind of thing from 0 is amazing, so I'm going to that side of the thing

_jose_antonio_
Автор

that mushroom death sound from maplestory at 0:45 hahaha that triggered some nostalgia :')

shibii
Автор

0:20 why is the S capitalised? is it just an accident?

jazzling
Автор

Great video. It's interesting to see someone building physics engines from scratch. I also tried to make my own, however I never figured out how to calculate amount of torque applied to an object during collisions. I am still thinking about it from time to time...

boersme