You are browsing as a guest. Sign up (or log in) to start making projects!

FPEeee

  • 7 Devlogs
  • 46 Total hours

Funky Physics Engineee! A 2D/3D verlet physics engine that supports distance constraints, springs, and circle-circle collision, all in C for superb interoperability.

Open comments for this post

12h 14m 29s logged

Devlog 7:

Finally added mass to the engine!
Before now all the particles had the same mass (just implicitly, so basically all of them had a mass of 1), making the small ones super dense.

Took so long because I had to migrate back to 2d in order to make sure the mass was working in 2d (everything was in 3d already so I actually added mass to 3d first), and had to update the 2d rendering for it to be able to render in 3d, but now everything (especially springs), is a lot cooler!

Devlog 7:

Finally added mass to the engine!
Before now all the particles had the same mass (just implicitly, so basically all of them had a mass of 1), making the small ones super dense.

Took so long because I had to migrate back to 2d in order to make sure the mass was working in 2d (everything was in 3d already so I actually added mass to 3d first), and had to update the 2d rendering for it to be able to render in 3d, but now everything (especially springs), is a lot cooler!

Replying to @Duck

0
2
Open comments for this post

3h 31m 30s logged

I added the shape generators back for 3d, now we have ✨ 3D cloth ✨!

I added the shape generators back for 3d, now we have ✨ 3D cloth ✨!

Replying to @Duck

0
4
Open comments for this post

12h 3m 24s logged

Trying to move to 3D, finally got triangle-sphere collisions working
the edges were by far the hardest part, the sphere-face collision actually wasn’t too hard

the engine wasn’t built for walls to be able to move, but it can handle it semi fine (I’m just having rotating walls for the cool 3d showcase)

Trying to move to 3D, finally got triangle-sphere collisions working
the edges were by far the hardest part, the sphere-face collision actually wasn’t too hard

the engine wasn’t built for walls to be able to move, but it can handle it semi fine (I’m just having rotating walls for the cool 3d showcase)

Replying to @Duck

0
2
Open comments for this post

5h 2m 5s logged

Added some functions that generate shapes for you, for example, cloth!

Added some functions that generate shapes for you, for example, cloth!

Replying to @Duck

0
42
Open comments for this post

1h 29m 50s logged

not that big but i migrated to the sdl callback system, so it works on emscripten now (can run in browser)
ignore my screen recorder quality

not that big but i migrated to the sdl callback system, so it works on emscripten now (can run in browser)
ignore my screen recorder quality

Replying to @Duck

0
4
Open comments for this post

5h 33m 35s logged

got circle-circle collision working and with a lot of balls its a bit like a fluid
cleaned up main.c as well too

got circle-circle collision working and with a lot of balls its a bit like a fluid
cleaned up main.c as well too

Replying to @Duck

0
6
Open comments for this post

5h 42m 21s logged

includes double pendulum for clout
not actually accurate but looks fine
it uses verlet integration and supports springs as well

includes double pendulum for clout
not actually accurate but looks fine
it uses verlet integration and supports springs as well

Replying to @Duck

0
6

Followers

Loading…