Gizmo Engine is a high-performance, data-driven, and fully modular game development framework. Designed specifically for large-scale physics simulations, advanced vehicular dynamics, and modern 3D rendering, it provides an industry-standard workflow with zero external physics API dependencies.
✨ Features
- Archetype-based ECS: A columnar, data-driven Entity Component System powered by
mimalloc. Built for maximum cache locality and lock-free concurrency, easily scaling to tens of thousands of entities. - Custom Vectorial Physics Engine: Built from scratch using purely mathematical vectors. Features include:
- Sweep and Prune (SAP) Broad-Phase with Rayon multi-threading.
- GJK/EPA Narrow-Phase for accurate collision detection (Convex Hulls, Capsules, Polygons).
- FEM (Finite Element Method) Soft-Body Physics for hyper-realistic deformation and stress-tensor calculations.
- Sequential Impulse Solvers with advanced Coulomb Friction and Moment of Inertia.
- WGPU-Based Rendering: A robust graphics pipeline supporting Vulkan, Metal, DX12, and WebAssembly (WASM). Features Instanced Rendering, GLTF PBR Materials, Dynamic Shadows (CSM), SSAO, Bloom, and Deferred Shading.
- In-Game Editor: Built-in
eguitooling with a dynamic scene hierarchy, real-time inspector, and modular prefab architecture. - Spatial Audio: RAM-cached, 3D spatial audio engine with distance attenuation and Doppler effect support.
🚀 Quickstart
Gizmo Engine is designed to be highly modular and ergonomic. Here is a minimal "Hello World" example demonstrating how to spawn a rotating 3D cube.
use *;
;
📦 Workspace Architecture
Gizmo's decoupled workspace architecture allows you to pick and choose exactly what you need. If you are building a headless server, simply omit the renderer plugin!
gizmo-core: The foundational ECS, math, and scheduling architecture.gizmo-physics: A completely render-agnostic, zero-dependency physics engine. Can be embedded into other engines (e.g., Bevy, Macroquad).gizmo-renderer: The standalone, WGPU-driven rendering pipeline.gizmo-app: The plugin-driven app loop and phase executor.
📸 Showcase
🛠️ Building and Running
To compile the engine and test the showcase map with advanced physics and rendering:
Note: Due to the extreme scale of the broad-phase and narrow-phase physics computations, compiling without
--releasewill cause a severe CPU bottleneck. Always use the release profile for optimal performance.
📄 License
Gizmo Engine is free, open source, and dual-licensed under the MIT and Apache 2.0 licenses.