GitHunt

Simple JavaScript Physics Engine

Box stack demo

alt text

Wall demo

alt text

Voxel terrain demo

alt text

Features :

  • Collision detection (AABB Tree for broadphase, GJK + EPA + Face clipping for narrowphase)
  • Box, sphere, cylinder colliders
  • Constraints resolution using Gauss Seidel
  • Joint constraints
  • Contact constraints

TODO :

  • More constraints
  • Optimization

Languages

TypeScript84.2%JavaScript15.8%

Contributors

MIT License
Created March 20, 2023
Updated April 20, 2023