AI Makes a Physics Engine (ChatGPT)

preview_player
Показать описание
4 moths ago I made a physics engine. But today ChatGPT will make one and we will compare the both. Which is better human vs A.I. This engine will include rigidbodies, collisions, collision resolution, thrust, gravity, acceleration, velocity, bouncing, friction, UI and more.

➤My Links:

➤Similar Videos:

➤Ignore:
I created my own physics engine engine. I tried implementing as many features as I could. And tried to make it as best as I can. So today I created a physics engine using only ChatGPT to see which engine is better. I started by giving it a base project that can render things in 3D. It can also manage gameobject, textures, materials, lighting and more base stuff.
I started by asking it to create a rigidbody class which is mandatory in physics engines. It basically will house all of our physics stuff for our game objects. I then moved onto creating UI that will more easily allow me to control objects and things about the scene. Then I moved onto collisions including collision detection, resolution and more.
Then I moved onto implementing other features to do with physics like gravity for objects, velocity, acceleration thrust and more. All of which was involved with the previously made rigidbody class.
I did a bunch more stuff in between
Finally I added some camera controls, optimizations and the engine was finished.

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

Havoc Physics in early build which was used in Half Life 2 beta when they demonstrated falling and rolling of barrels on multiple plates of wood that fell sinking down the field that simulated water and saw how it would bounce as if it was drowning, just blew my mind, especially Garry's Mod, which is my first steam game I got.

unraveledultimatefate
Автор

She worked so hard on the video









she even changed the thumbnail for the third time

TruthSpitter
Автор

I think your ease with c++ is amazing!

suamp
Автор

I absolutely love imGUI, used it for the fluid simulation I made for my final year uni project

mattwhelan
Автор

Use ImGui in my engine and it's amazing. It's allowed me to make changes in real time and for hunting down hard to find bugs (ie. lighting, textures, materials). Other thing I did was use bounding sphere's 1st to see if a collision is even possible before using more expensive rotated/scaled 3d cubes.

My poor engine started in 2004 with DX7 and is now on DX11. It's like a pet that never dies. Best thing I like about it is it will assemble all model textures into an atlas using DDS format then combine similar sized models together allowing very small batch sizes. For example 6 batches for 100 different models.

TheWhitde
Автор

Amazing XD love the "fuck you chatgpt" as your program name hahaha

OutMagic
Автор

This was the most inspiring thing I have watched all day. I've always had an interest in video game development and this motivated me. Great video!

thisisemar
Автор

Great video, it's clear that you are really experienced and actually know what you're doing, which is... quite rare among us developpers... And you're using C++ of all languages... Respect !

temz
Автор

[Boromir Meme]:

One does not simply uses C++!

Автор

Zyger:Gravity just downward force
einstein:i Work my whole life and this what i get?

EMPERENIKA
Автор

I've done that for python but not C++, i'm installing to experiment with C++ as well as i learned the programming language in abstract, but i've got to try to do things with C++ since it's more open and is flexible.

unraveledultimatefate
Автор

thats a sick physics engine for an AI that cant draw circle

the-guy-beyond-the-socket
Автор

OK, can I ask ChatGPT write me an algorithm with a certain complexity? Not some simple, but the same rigid body class, and each methods should be performed for constant amortized complexity? And thanks for the great video!

directorys
Автор

the funny is that this looks easy lol, I can't even use SFML library im stuck in it😫

azul
Автор

4:04 of course it goes down and loses tabs, they use ChatGPT to write their own code, it seems.

monad_tcp
Автор

COOL!!!, where did you learn c++ and do you mind giving some tips on learning c++ because i really wanna have a broad knowledge of it

arhamirfan
Автор

You should have used the payed version because it is 10x better.
I use it everyday and do net even think about coding anymore. Only fixing bugs the AI does

RitterderRedlichkeit
Автор

Lmao I should do this with a 3d engine made in C

michaelross
Автор

cant wait til all content is AI generated.
the future is here. huzzah.

goober
Автор

Chat gpt doesn't pick up it's garbage lol

JonathanZigler