Skip to content

Andy-Roger/Cubify

Repository files navigation

Cubify

Converts a mesh into a voxel mesh

How to install:

How to use:

  • Create a game object with a mesh collider that matches the mesh
  • Right click on the GameObject in the Hierarchy
  • Select "Cubify"
  • The Cubify window will appear
  • Choose a cubic resolution e.g. 10
  • Click Generate

Notes:

  • Right now, only single mesh objects are supported/tested
  • Cubify uses the object collider component to generate the voxel mesh, so for best results use a mesh collider that uses the mesh of the object

alt text Credit to Skull model: https://sketchfab.com/3d-models/skull-downloadable-1a9db900738d44298b0bc59f68123393 alt text alt text

About

Converts a mesh into a voxel mesh

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages