I am trying to programmatically create a barrier around an object. I want to spawn an object, set the rotation value to X amount before spawning the next object and repeat Y times.
I have tried variations of this, but always end up with just one object.
Any assistance is appreciated.
Develop games in your browser. Powerful, performant & highly capable.
Aaaannnd of course I finally figure it out after posting, even though I had been trying for hours.
I used a WHILE loop instead and a global variable for the count.