I Made a Physics Engine
To try everything Brilliant has to offer—free—for a full 30 days, visit https://brilliant.org/Zyger/ . You’ll also get 20% off an annual premium subscription In this video I will be simulating physics in my C++ engine. I have been working on a graphics engine for the last month or so. Today I finally decided to take a little break from adding further graphics into the project and opted to try and simulate physics instead. So in this video I will start by creating a rigidbody class to give my entities physics component such as gravity, drag, friction, velocity, acceleration and forces. I will also be creating a custom collider class that is capable of creating a collider for any given entity. Beyond this I will create a collision resolution class that will handle what happens when a collision occurs such as bouncing, pushing and pulling etc. 00:00 Intro 00:23 Monday 02:31 Tuesday 04:35 Wednesday 5:44 Thursday 6:37 Friday Previous Video: • 30 Days of Making a Graphics Engine ➤My Links: Discord: / discord Instagram: / gabzxd Twitch: / officialzyger Twitter: / zygerdesigns Patreon: / zyger ➤Music: funky jammings - Mothense | offbeat game composer! Night - Tomodachi Life Balatro OST - Main Theme Bozz - William Benckert A Lil BIT - Rocket Jr ➤Ignore: I made a custom physics simulation system in my C++ engine, starting with a Rigidbody class that handles mass, velocity, acceleration, gravity, drag, and applied forces. I implemented AABB-based Collider components for simple but efficient collision detection. To resolve collisions, I created a CollisionResolver that applies impulses for bounce (restitution), friction, and positional correction to prevent overlap. Forces like gravity and user input are accumulated and integrated each frame for realistic motion, while drag and friction help simulate real-world behavior. The system supports both dynamic and kinematic bodies, allowing for flexible and responsive 2D physics interactions. #coding #physics #cplusplus #c #zyger #gameengine

Coding a Physics Engine from scratch!

I Made a Graphics Engine (with Vulkan)

How did I optimize my Physics Engine on the GPU! (OpenGL C++)

I Made a Chess Engine IRL

CAN I BEAT Kerbal Space Program at 10x SIZE!?

A 3D Physics Engine From Scratch Using OpenGL and C++ (Step-by-Step)

Ex-Blizzard Dev Writes A Particle System From Scratch - Never Engine Devlog 1

Making a GPU Physics Engine from scratch

I Made the World's Smallest Minecraft Server

Writing a Physics Engine from scratch - collision detection optimization

Physics Engine from Scratch

Making a Game With C++ and SDL2

Learning Unity Until I Release A Game On Steam

The Most Impressive Game Engine

I Optimised My Game Engine Up To 12000 FPS

I made a physics engine in C++!

Programming My First Game Engine in C++

The New SMARTEST Metro System in Minecraft!

I'm Coding an Entire Physics Engine from Scratch

