So the idea here was to quickly make something that’s worth of being a promoted model. What you do is place them around your game and they connect themselves. They prefer to connect to poles that are facing a similar direction and that are somewhat forward from where they’re facing (indicated by the yellow arrow (yes it gets removed when it runs)).
In terms of performance it doesn’t do any optimization with initially generating the lines and it only updates the connections and lines if one of the node parts (A, B, C, D) changes its position. The lines also don’t archive so you don’t need to worry about them screwing up your saved. Please let me know if you guys find any bugs or have stuff you want me to add/change. Thanks!
I decided that instead of using modules I’d just run the code straight from the scripts. Displays at a lower quality level in studio since you’ll be moving them around more often. Also comes with a spawner button.
Rewrote the code to polish and optimize it. I think it’s ready to be submitted for the model maker contest. Don’t worry about updating your plugin, I’m far too lazy to write it in such a way that requires me to rewrite two scripts.
Only connected poles are rebuilt when they move, so as long as you’re only moving a small number at a time you’ll have a nice smooth framerate. Here’s 64 poles running at 40-50 FPS while I’m constantly moving one around.