Skip to content

brianasu/unity-voxelizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

unity-voxelizer

Utility library to voxelize meshes in Unity.

Usage

//Create a new instance
var vxl = new Voxeliser(bounds, xGridDimensions, yGridDimensions, zGridDimensions);

//Pass in a transform with mesh renderers under it
vxl.Voxelize(rootTransform);

//This will return a 3D bool array that contains the voxel data. solid == true empty == false
var data = vxl.VoxelMap;

About

Utility library to voxelize meshes in Unity

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages