Draft: Jolt physics implementation
NOTE: This MR is in Draft status, CI will fail but should all compile (besides windows apparently)
Replaces Bullet Physics with Jolt, fixes certain issues such as:
- Backface collision detection
- Cylinder actor collider performance
- Projectile collisions sometimes missing
MR was created for early review and testing purposes. Will fill in more context at a later date.
Known todos/issues:
-
Define broadphase layers (needs a bit of performance testing) -
Custom infinite plane water shape -
Animated mesh scaling (Can test scaling with the model here) -
Scaled meshes have incorrect navmesh -
navmeshtool doesnt compile -
test suite doesnt compile or run -
windows CI build broken
Potential future optimizations:
- Add and remove physics objects when streaming cells in batches instead of one at a time
- Replace async worker threads with job system for whole engine
Edited by cykoder