Real-time XPBD soft-body/ rigid-body physics engine for Unity with impressive deformation, C++ core, mobile support, and demo scenes for fast integration and gameplay-ready simulation.DynamicEngine3D – Soft-Body Physics Engine for UnityDynamicEngine3D is a real-time soft-body/rigid-body physics system built for Unity, designed around Extended Position-Based Dynamics (XPBD) combined with a custom Verlet-based integration system. It focuses on stable, controllable, and performance-efficient deformation suitable for gameplay-driven simulations.The engine is designed to enable realistic physics behavior, where objects can deform dynamically under stress, collision, and constraint forces while remaining stable enough for real-time gameplay.Unlike traditional rigid-body systems, DynamicEngine3D simulates objects as interconnected particle/constraint structures, allowing realistic bending, compression, and structural response without the instability common in force-based solvers.Core Design ConceptDynamicEngine3D is built around three principles:Stability over complexity XPBD constraints ensure predictable behavior even under extreme forces.Performance awareness A C++ core handles simulation-heavy operations, while Unity acts as the gameplay and visualization layer.Gameplay-first physics The system is tuned for interactive environments, not only just visual simulation.Key FeaturesReal-time XPBD-based soft-body simulation systemStable constraint-based solver designed for real-time useCustom Verlet integration for improved numerical stabilityNative C++ physics core for performance-critical calculationsUnity C# integration layer for scene control and interactionMobile-compatible architecture with native build support (STILL WIP)Modular design allowing customization of constraints and behaviorIncluded demo scenes for immediate testing and learningVehicle & Soft-Body SimulationDynamicEngine3D supports soft-body structures designed for vehicle-like behavior, including:Structural deformation under collision impactConstraint-based chassis and frame simulationReal-time response to terrain and obstaclesAdjustable stiffness, damping, and constraint strengthThis makes it suitable for crash simulation systems, experimental vehicle physics, and sandbox-style destruction environments.Included ContentCore engine package (Unity integration layer)C++ native DLL module for Windows and ARM64 androidPreconfigured demo environments for showcasing physics behaviorBasic integration scripts for quick setupBasic Documentation with a Getting Started GuideA readme file with the INSTALLATION GUIDERequirements & Notes (IMPORTANT!)This asset is intended for developers familiar with physics-based systems and simulation workflows. While the core engine is functional and usable, it is actively evolving, and additional features, optimizations, and documentation improvements are ongoing.BUGS AND ISSUES ARE NOT EXEMPT FROM THIS!Some systems may change as the engine develops, and users are encouraged to explore and extend the architecture on its official GitHub repository:Saviourcoder/DynamicEngine3D: Open-source Soft-Body Physics Engine for Unity3DIdeal Use CasesDeformation systemsPhysics-driven sandbox gamesSoft-body interaction mechanicsSimulation-based prototypesResearch and experimental physics projects in UnityKey FeaturesReal-time XPBD-based soft-body simulation systemStable constraint-based solver designed for real-time useCustom Verlet integration for improved numerical stabilityNative C++ physics core for performance-critical calculationsUnity C# integration layer for scene control and interactionMobile-compatible architecture with native build support (STILL WIP)Modular design allowing customization of constraints and behaviorIncluded demo scenes for immediate testing and learningAI was used to diagnose and assist with the mono-behaviour, editor and C++ code




