Posted March 06, 2022 by Munchmo
#bolt #node #script #superunit #super-unit #unity #unity3d #visualscripting #visual-scripting
This is a system I've been working on for a while. It's still fairly rudimentary, but at the very least it gives a bit of a starting point to expand on. This consists of four subgraphs. The main, is called Target. You attach that to any object that will be using the targeting system. From there I have three other basic graphs that use the targeting system to build upon. The first is a graph that makes an object rotate (in 2D) to aim at its target. Another graph makes an object follow its target in a straight line. The final graph is a method of automatically choosing a target, either via distance or target status.
There's more I expect to do in regards to this system (hopefully even add 3D components). As time goes on I will expand this and add new things. For now though, this seems to work the way I intend, so I can put it to use in my own game(s).
Please let me know if you run into any issues.