TerrainPaths [V1.1]
Hey everyone, @AntiBoomz0r and I worked on this plugin for the last few days and wanted to share for free! It still needs some work and bug fixes, but I wanted to get it into your hands early
Have you ever tried making a smooth winding path around a mountain , or a smooth slope for roads or players to travel on?
It’s a bit of a nightmare with the studio tools, they require a high amount of effort to produce smooth paths
We made a plugin that lets you draw out and adjust spline curves and click render to conform the terrain to your path!
Here's a more detailed video of it in action - with a timelapse at the end of me creating a cool winding path around a mountain
Features
-
Create, export, or load a spline
-
Radial menu with Spacebar for quick access to modes
-
Move nodes around by dragging a node or the handles
Create, export, or load a spline
Radial menu with Spacebar for quick access to modes
Move nodes around by dragging a node or the handles
- Adjust the width of nodes by dragging the handles
- Add more nodes to the spline
- Delete nodes from the spline
- Subdivide nodes to add more detail
-
Bridge Toggle
-
By default, terrain will be filled all the way up to the spline from the ground
-
You can instead choose which segments act as a land bridge which prevents them from filling all the way to the ground
-
Settings
I'll do my best to explain these
- MinWidth
- Controls the minimum width of all segments. Final width is calculated as the maximum value between a point’s width and this setting
-
Smoothness
- Controls the smoothness of the conformity
- Controls the smoothness of the conformity
-
Strength
- Controls the overall strength of the effect, recommended value is 1
-
HeightOffset
- Vertical Offset in studs for the spline
- Vertical Offset in studs for the spline
-
SegmentInterval
-
The stud interval in which the spline is sampled, both on the preview mesh and generation
- I couldn’t find much of a difference beneath 10, so that’s the default value
-
-
TunnelHeight
-
TerrainPaths supports carving tunnels through terrain. This setting dictates the height of those tunnels that will be cut
-
TerrainPaths even supports crossing over other paths! As long as they’re not too close to each other(dictated by TunnelHeight)
-
- BridgeThickness
-
This dictates the thickness in studs for land bridges
-
This only affects segments between nodes that are toggled to true for bridges
-
-
Tension
- This is a Catmull-Rom spline related property, recommended value is 0.5, but feel free to play around with it
-
Path Loops
- Dictates whether or not the path loops back to the start
-
AutoMaterial
- If true, the terrain generation will attempt to use whatever material is underneath the spline rather than the one you choose
Things I want to add but didn't get the time for this initial release:
-
Proper Undo/Redo support
-
Various bug fixes
-
Perhaps a way to control the falloff a bit better, but this can all be smoothed out pretty easily
with the studio tools afterwards
Proper Undo/Redo support
Various bug fixes
Perhaps a way to control the falloff a bit better, but this can all be smoothed out pretty easily
with the studio tools afterwards
Get it here! I'm excited to see what you create with it
Special thanks:
-
@AstroCode for his Catmull-Rom spline on github
GitHub - ecurtiss/CatRom: Creates Catmull-Rom splines for Roblox - @AntiBoomz0r for making most of this tool with me
- @Tamara_X for icons
-
@Elttob for Fusion
- This plugin isn’t necessarily neatly coded , but a heck of a lot more than I would’ve been able to make before thanks to Fusion!