Spline Mesher
Staggart Creations
$45.00
Date |
Price |
---|---|
Date |
Price($) |
03/26(2024) |
20.0 |
03/26(2024) |
10.0 |
04/09(2024) |
20.0 |
05/23(2024) |
30.0 |
07/21(2024) |
12.0 |
07/22(2024) |
15.0 |
07/23(2024) |
15.0 |
07/30(2024) |
30.0 |
09/05(2024) |
45.0 |
10/02(2024) |
22.5 |
10/22(2024) |
45.0 |
11/25(2024) |
45.0 |
Jump AssetStore
Takes a mesh and repeatedly deforms it along a spline. An essential tool for building fences and paths.This is a modeling tool, so the render pipeline in use isn't relevant. Demo scene is set up for the Built-in RP, so materials can be upgraded to view in URP/HDRP.Once Unity 6 settles in, URP will be used by default.📄 Documentation | 🟣 Discord | 💬 Forum threadA straightforward and powerful tool for spline-based mesh deforming. Essential for 3D world building. Built around Unity's native spline tool, making it intuitive to combine with other tools or gameplay logic.> Provide the component with a spline and an input mesh, and it gets continuously repeated and deformed along its curve.This tool makes it easy to achieve this right inside Unity, without needing to go back and forth between editor and external modeling software. Designed to be easy to use and not overly complex.Build fences, pipes, paths, cables and much more!🎁 MAJOR FREE UPDATE• Caps, attach any prefab to the start/end of the mesh• Manual segment count control• Stretch-to-fit functionality• UV scale & offset control• Rotation roll angle with per-point adjustments, twist a mesh around the spline• Vertex color data over the spline, to drive shader-based effects• Several UI and usability improvementsUpdating to v1.2.0+ requires deleting the asset completely! It now imports as a package.🔗 Features• Creates one continuous object, no clutter of GameObjects• Automatic box-shape collider generation• Per-point Scale, Roll and Vertex Color controls• Downward snapping/conforming to colliders• Start & end prefab attachements• Recalculated normals, ensuring correct lighting and shading• Rebuild events exposed in the inspector, and through C#Features a cleanly designed inspector UI, with tooltips and undo/redo support. Source code is commented.✔️ Supports• Runtime generation (no API calls required, simply alter the spline)• Multiple materials (aka sub-meshes)• Multiple splines within the same container• Negative scaling (eg. guardrails mirrored on either side of a track)• Lightmapping (UVs are auto-generated when needed before baking)🚧 Limitations:• Usage of created meshes in prefabs requires exporting them to an FBX file using the Unity's "FBX Exporter" package*. Because Unity strictly saves procedural meshes in the scene file.• Constant regeneration of complex geometry every frame may be prone to performance issues (ie. animating splines)• Does not support non-uniformly scaled spline containersRequires the Splines (v2.4.0+) package to be installed!⚠️ Failing to do so before importing this asset results in demo scene data being lost.📌 Input meshes are expected to be correctly exported for use in Unity (Z-forward, Y-up). This is reasonable to assume for a Unity-based tool. More details.📝 This asset imports as a native package, not in the "Assets" folder.✔️ Designed for production and long-term use• Battle tested: the previous iteration of this tool was proprietary, and used in 3 released productions.• Correctly transforms geometry for the MeshFilter transform, the MeshFilter and Spline components can be entirely separate.• Context menu on Mesh Filter components, to quickly convert a mesh into a spline mesh.• Retains the original mesh's UV (channel 1) and vertex colors.• Not limited to 65k vertices.⚠️ Not comparable to advanced modeling software• Vertices aren't merged and can end up overlapping⚠️ Performance• Using Jobs is currently not viable at the moment, due to the spline data sampling API and Unity's mesh combining API not being job-friendly. These are vital.Note: Functionality such as random mesh selection, or scale/rotation will not implemented. It is not technically viable. Unity's "Spline Instantiate" component already facilitates procedural prefab spawning and can be used instead.