Skip to content

How to add powerlines

Nino Filiu edited this page Sep 10, 2024 · 1 revision

Draw a spline defining the path of the powerlines. One pylon will be spawned per point. The spline itself won't be rendered.

image

Add the Powerlines.cs script and define the pylon prefab as well as the cable material. You're free to chose whatever pylon prefab you like but make sure that it has attach0, ..., attach10 empties. These will be used to compute the cable curves.

image

image

There is a custom "Spawn Pylons at Knots" context menu action. Click it.

image

This should create pylons and cables.

image

Clone this wiki locally