Current Situation
FUDGE currently uses OimoPhysics for rigid body simulation. While functional, there is room for improvement in precision, stability and performance.
Proposal
Inverstigate Babylon.js HavokPhysics as a potential replacement. Havok is a well-known, widely used physics library, and the Babylon.js WebAssembly integration could:
- Potentially improve precision for collision detection and rigid body simulation.
- Potentially increase performance in large or complex scenes.
- Provide additional physics features, such as more shapes, joints, and constraints.
- Enable more accurate, stable, and feature-rich physics simulations.
Considerations
- Integration effort and API differences between Oimo and HavokPhysics.
- Ensuring compatibility with existing scenes and components.
- Assess documentation and long-term support.
Current Situation
FUDGE currently uses OimoPhysics for rigid body simulation. While functional, there is room for improvement in precision, stability and performance.
Proposal
Inverstigate Babylon.js HavokPhysics as a potential replacement. Havok is a well-known, widely used physics library, and the Babylon.js WebAssembly integration could:
Considerations