- Home /
Is it possible to convert a Collider into a Spawner?
Hi, I'm writing my own spawner right now and I'm just wondering if there's any way to use the dimensions of a box collider for example to set up the max and min spawn positions instead of manually setting them up? It's a minor thing, but just out of curiosity I'd like to know, because I know there are functions that return dimensions/position of objects. I'm asking this because it would be so much easier to configure boundaries for things like spawning random kinematic obstacles on the players path.
Sticking to random.range and vector3's is fine and all, but having a visual rescale-able zone is more practical.
Your answer
Follow this Question
Related Questions
Which setup should I use for spawning? 0 Answers
Checking gameobject in Collider range only on method call 1 Answer
Change Scene When All balls Enter Collider 1 Answer
How do I only let one collider be affected at a time when using OnTriggerEnter? 1 Answer
OnTriggerEnter with the character controller collider 4 Answers