What problem does it solve?
It helps you go from āI need interactive 3Dā to a working Babylon.js rendering setup without guessing at the engine, scene, camera, lighting, materials, assets, animation, and performance wiring.
Core Features & Use Cases
- Engine & Scene Initialization: Create and run a Babylon.js Engine render loop, configure Scene options, and handle resize reliably.
- Camera Systems for UX: Set up Free (FPS), ArcRotate (orbit), and Universal (advanced/collision/physics-aware) camera workflows.
- Lighting & Shadows: Build scenes with Hemispheric/Directional/Point/Spot lights and generate shadow maps for depth and realism.
- Meshes & Materials: Generate primitives with MeshBuilder, apply Standard and PBR materials (including texture maps), and support multi-materials.
- Model & Asset Loading: Load GLTF/GLB models and batch-load assets (meshes/textures) for predictable scene hydration.
- Physics & Animation: Enable Havok-based physics, create physics aggregates, and drive object motion with Babylon animations and animation groups.
- Integration Patterns: Pair Babylon.js with React, and optionally support WebXR and GUI overlays for complete interactive experiences.
- Performance Guardrails: Apply common optimization strategies (instancing/thin instances, mesh freezing, hardware scaling, texture optimization, culling).
Quick Start
Use the babylonjs-engine skill to generate a complete Babylon.js scene that renders a PBR-lit model with shadows, a working camera, and a render loop that resizes correctly on window changes.