Box and Plane Collisions

I’ve extended my physics engine to handle some basic collision detection and resolution. Boxes can collide with planes, and boxes can collide with other boxes.

This video shows the selection of rigid bodies and moving them around to cause collisions with others using a touchscreen control system that behaves like a twin analog stick controller.

There are some issues to work out and extensions to make, but it’s coming along nicely.

Simple Animation System

I’ve implemented GLTF file loading (previously only obj was supported) and have created the beginnings of an animation system with a view to having full character animation. There is still quite a bit of work to do here!

With the physics engine, selected objects can now be thrown and their orientation stays (mostly) relative to the camera while rotating the view.

As I’ve added more things, startup time has increased so I’ve added a loading screen as a first step to being able to build an actual game from the engine.