Skip to content

Desayuno64/UnityQuickBlocking

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 

Repository files navigation

Quick Blocking Generator

alt text

This is a simple spline based mesh blocking generator, it depends on the CinemachineSmoothPath or CinemachinePath,

alt text

Currently it does not support smooth blocking, only point based which gives you a blocky but userfull result.

To use it, just create a path, and add the script to a gameobject

Once you've created a path, update it through the "Update Mesh" in the three dots component, that will create the mesh and update the Mesh collider component ready to test.

alt text

Some improvements I'm not so sure how to make yet are:

  • Better triangulation method, right now every vertex is connected to point 0, which sometimes generates clipping.
  • Adjustable resolution, right now there's no way to smooth borders by using the interpolation between points.
  • UVs for the side and top parts of the mesh.

(feel free to contribute)

Project is set up in Unity 2021.3.21f URP 12

About

Practical Tool for blocking in unity

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published