- Home /
Question by
Axel121 · Feb 03, 2017 at 02:37 PM ·
objectrandomcollider 2d
Problem with random creating prefab
I make an endless runner I have 2 objects, one on the top and one on the down. Player have to jump or squat between the objects. I made script which create that objects but sometimes two object make on the same position, so Player can't do anything. How to solve that? Can i check other objects on the axis X, but not by collider?
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612110154im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Using arrays to randomly select an object 0 Answers
Random object placement. 1 Answer
2D runner, need a help 0 Answers
Save object position (random) 1 Answer
Random position? 1 Answer