Demo WebGL: itch.io
Voxel Player Controller is a complete, architecturally-driven character controller system for 3D Unity projects. It is not just a movement script, but a fully modular ecosystem built on a strict Separation of Concerns philosophy, allowing each system to operate independently.
The asset includes a Rigidbody-based player controller with multiple locomotion states (Idle, Walk, Run, Crouch, Jump, Dash), automatic sprinting, slope handling, stair traversal, and robust fall detection. A full swimming system provides buoyancy-based movement, smooth land/water transitions, and camera-relative controls.
Input is handled through a unified abstraction layer supporting both Unity’s Legacy Input System and the New Input System. The dynamic camera system supports first-person and third-person modes with smooth interpolation, collision avoidance, and water adaptation.
The package also includes a modular melee combat system with weapon inventory, equip/unequip animations, configurable attack arcs, and sphere-cast hit detection. Enemy behavior is handled by the AdvancedNPC system, featuring state-driven AI with NavMesh navigation, patrol, chase, attack, return, and death states.
Additional systems include a centralized audio controller with dedicated AudioSource domains, an event-driven health system with fall damage, death and respawn logic, visual feedback via a lightweight effect system, and runtime debugging tools. The entire system is designed to be plug-and-play, highly configurable through the Unity Inspector, and suitable for professional production environments.