Hi, so I’m currently working on a Idle Tower Defense entirely made out off UIs (Not with a path. It’s a single tower that you upgrade). I got the wave system done, and I now need to make enemies spawn at a random position around the circle. But not any random position. I need the distance between the enemy (which is a frame) and the tower (positioned at the center of the circle) to always be 1.5 (Scale, not Offset).
Here is a brief representation of what I’m trying to achieve:
-
The distance between the enemy and the center of the tower has to be 1.5 in scale (might be changed later, for balancing purposes).
-
The position of the enemy needs to be randomized around the circle.
That’s pretty much it, I appreciate any type of help regarding what I’m trying to achieve. Thanks in advance!