3D Physics Engine

Show off your games, demos and other (playable) creations.
User avatar
ShoesForClues
Prole
Posts: 13
Joined: Wed Dec 12, 2018 1:43 pm

Re: 3D Physics Engine

Post by ShoesForClues »

togFox wrote: Tue Mar 19, 2024 2:38 am I'm thinking either 1st person or 3rd person RPG dungeon crawler with this physics engine for combat and world movement.
An RPG dungeon crawler would be pretty awesome! If you do plan on making it, make sure to use the version from my GitHub since that's the one being constantly updated.
SuskyTheCorgi
Prole
Posts: 8
Joined: Sat Apr 06, 2024 12:30 am

Re: 3D Physics Engine

Post by SuskyTheCorgi »

ShoesForClues wrote: Sun Mar 17, 2024 12:17 am Sup y'all. Been working on a 3D physics engine for a while and finally made progress with this.

This engine uses a clipping algorithm that I came up with and does not rely on GJK/EPA or SAT. This does give the disadvantage of it only working with vertex shapes.

Screenshots

Image

Image

I'll release the source of this soon, once I clean up the code. It's not as stable and kinda laggy atm.

UPDATE: Here is the preview demo!

CONTROLS:
  • Use WASDEQ and mouse buttons to move the camera
  • Press [1] to toggle wireframe
  • Press [2] to toggle bounding boxes
  • Press [3] to pause the physics simulation and [T] to step through each frame
  • Press [F] to fire an object
  • Press [R] to move all objects
Apologies if the code is messy. Some of it dates back to 2 years ago!

Please also consider following my GitHub for updates: https://github.com/0x1ED1CE/FPS
Wow! This is impresive!
Post Reply

Who is online

Users browsing this forum: Semrush [Bot] and 68 guests