Greetings !
I have a game where the player should collect the alphabet coins in its correct order.
map is really big , this is just 1/16 part of it.
Coins you can see are being spawn using Random.Range with min/max X and Y … all this works fine until coin is on CircleCollider (like on letter “C” on the left) where car can't get on to … this means that game is automatically over and player loses because of the thing I have not yet developed.
The first idea for the solution is to put exceptions for each object for coins not to appear on that place … those are trees , buildings , etc … Buildings on my map are over 100 , trees about 100. I don't think that exception is a good idea. Yes I need an idea more here/today and not the code (but I would appreciate if you give me the idea for a code).
How I can spawn my coins that way so they won't be on some objects (I may tag them and then use).
Please assist ?
and thank you in advance