Devices
A robust mining and voxel-destruction engine.
It transforms static props into interactable "blocks" with individual maximum health, current health, and specific resource drops.
It uses highly accurate raycasting to detect exactly which block a player is swinging their pickaxe at.
It features an advanced "adjacent block" detection system. If a player upgrades their pickaxe to increase their "Mining Area," the code instantly calculates the closest connected blocks and damages or destroys them simultaneously in a single, satisfying swing.