Physics Engine V1
Download
Features
- Sweep-and-prune broad phase
- Floating-point radix sort (as opposed to merge sort) for O(n) broad phase
- Sphere/sphere narrow phase (continuous collision detection)
- Penalty-based collision response
Usage
Keyboard:
- <Enter>: restart simulation
- p: pause simulation (don't do it too long—increases time delta for next frame while paused)
Mouse:
- LMB: rotate
- RMB: pan left/right, zoom (fine)
- Mousewheel Button pan
- Mousewheel Scroll zoom in/out (coarse)
Screenshots
Plans for V2
- Scene graph and file format for
- More narrow-phase intersection tests to support geometries other than spheres