Voxel Sandbox System is a complete, ready-to-use Unity asset that provides a full foundation for creating voxel-based sandbox games similar to Minecraft.
Core Features
- Procedural Infinite World Generation: Chunk-based system (default 16×128×16) using Perlin noise to create realistic terrain with hills, rivers, lakes, beaches (sand blocks), and randomly placed trees.
- Advanced Water Physics: True Minecraft-style finite water simulation – water sources, downward flow, horizontal spreading up to 7 blocks, falling water, proper level handling, and automatic updates when blocks are placed or removed.
- Player Controls: First-person movement including walking, sprinting, jumping, full swimming mechanics (directional movement based on camera, separate up/down speeds with Shift/Jump, buoyancy, drag), mouse look, and underwater visual effect.
- Building & Interaction: Accurate block highlighting with outline, left-click to destroy blocks, right-click to place blocks from the selected hotbar slot, configurable reach distance.
- Inventory System: 9-slot hotbar + 27-slot main inventory, stackable items (max 64 per stack), clean modern UI with item icons, counts, tooltips, hotbar selection via 1-9 keys or mouse wheel, inventory toggle with E key, right-click to transfer items between hotbar and inventory.
- Included Shader: "Cube6Textures" – a custom surface shader that allows different textures on each face of a cube (top, bottom, sides).
Customizability
Everything is highly customizable directly in the Unity Inspector:
- Terrain parameters (scales, heights, water level, tree density, seed, etc.).
- Movement and swimming speeds, gravity, jump force.
- Materials and icons for all block types.
- Easy extension of the BlockType enum and block database.
- All scripts are clean, well-commented, and modular, making it simple to add new features like mobs, crafting, or biomes.
Suitable Genre
Perfect for sandbox, survival, creative, or open-world building games in the voxel/Minecraft style. It delivers all core mechanics out of the box, saving months of development time and letting you focus on your unique gameplay ideas.
Drop the components into a scene, connect a few references, and you have a fully playable voxel world ready for further development.