-
Notifications
You must be signed in to change notification settings - Fork 0
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.
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.
There is a custom "Spawn Pylons at Knots" context menu action. Click it.
This should create pylons and cables.