
Creates a path-like 3D mesh along a spline.
An extremely versatile tool for building low poly terrain or blocking out a level.Path Mesher is a simple script that can turn a Spline into a path-like low poly mesh.It is designed to work in a similar way to a tool that Jonas Tyroller used to develop the game Thronefall. The tool can create various terrain features such as cliffs, rivers, roads etc. whatever little squiggly extruded sausage shape you want, it can probably make it.FeaturesVariable detail levelsEnd shapes (none, cap, bulb)Noise (wobbly paths)Surface conformation (match the shape of coliders underneath)UV mapping for textures that run along the spline (repeating road textures)Separate materials for top sides and bottomIndependent tool to add scale data to a splineSave mesh as assetUses Unity Splines API, no complicated custom stuffExtensibleDocumented (but it's designed to be simple)Of course it works with Unity 6!Package ContentsPathMesher script containing just the editor serialized dataAbstractPathMesher containing the meshing logic, easily extensibleSpline Scale Data tool (add scale data to any spline)Sample scenesWorkflow1. Right click in hierarchy and select "3D Object > Path"2. Start modifying your path using the spline tools and inspector3. Profit?You can also add the PathMesher script via the Add Component context menu.Once done you can save your meshes to an asset to serialize them in prefabs or keep them serialzed into the scene objects, up to you.Important!!!Gizmos must be turned on for the tool to work.If you do not see any mesh generated, or any changes, make sure your gizmos are turned on in the scene tools!Contactkrooq.dev@gmail.comwww.krooq-dev.xyzRequirementsUnity 2022.3+Unity.SplinesUnity.MathematicsLimitationsGizmos must be turned on for the tool to work