2024, Luau + Roblox

This was some initial explorations of using SDFs to model game environments for vehicle games, and then by necessity writing a full PBD physics engine to allow rigid bodies to interact with that environment.

SDF + Position Based Dynamics

better write up coming <3

better write up coming <3

tl;dr:

  • wrote SDF marching cubes triangulation

  • wrote a position based dynamics physics system based on a couple of papers and open source implementations in pure Luau

    • used pure SDF functions for the narrow phase of collision constraint generation

  • ported over an old raycast/spring + hull based car system I wrote ages ago and converted it to use my

Previous
Previous

Abstract Buildings