3D Physics (Patreon)
Downloads
Content
After experimenting with 2D physics in yesterday's post, I decided to try out an existing physics library. I found a C# library called BepuPhysics and loved it, it was very easy to work with.
I can't embed individual videos here in the post, so the main video attached to this post shows what I tried in chronological order:
- Collision between spheres and a plane. I could control the mass, friction and elasticity/bounciness of each object
- Heightmap collision. I stored the same triangulated heighmap mesh inside the list of physics objects and it just worked!
- Tree collision, pretty simple, this just used a cylinder model
- Character control, pushing the sphere with my character until it disappeared into the void
- Character physics. I couldn't figure this out fully as the sphere kept getting faster and faster
I was working on a voiceover for this video but got frustrated with my script and audio. I have a lot to learn and would like to make these videos interesting, but I couldn't get it done in one night. Instead I'll aim to create one short video for YouTube every month or two, which covers the highlights from these Patreon posts.