Overview of crashcat features
maincrashcat is a pure JavaScript physics engine designed for games, simulations, and creative websites. It is built to be highly tree-shakeable, allowing developers to only include the features they use. It is engine-agnostic and can be integrated with libraries like Babylon.js, PlayCanvas, Three.js, or custom engines.
Core Capabilities:
- Rigid Body Simulation: Full support for rigid body dynamics.
- Shape Support: Convex shapes, triangle meshes, and custom shapes.
- Constraints: Includes hinge, slider, distance, point, fixed, cone, swing-twist, and six-dof constraints, all supporting motors and springs.
- Collision Detection: Continuous Collision Detection (CCD) for high-speed objects and broadphase spatial acceleration using dynamic BVH.
- Advanced Features: Flexible collision filtering, rigid body sleeping, sensor rigid bodies, and hooks for intercepting/modifying physics events.