Announcement

Collapse
No announcement yet.

Random generating obstacles are overlapping

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Random generating obstacles are overlapping

    Hi, I am currently working on a university game project, where I have been assigned to create blueprints for the basic mechanics of the game, however it's my first time with blueprints and I struggle to create certain mechanics. Our game is going to be endless runner type of game, I am trying to create a random generating obstacles that will spawn 4 random obstacles on the 10 spawn points placed on the road modules, the problem I have is that the obstacles are overlapping each other, and I think there should be a simple way to prevent 2 obstacles from spawning in the same spot, but I don't know how. This is a video where I got the blueprint from https://www.youtube.com/watch?v=qzFd-PfM5kc , I have modified a bit to have multiple obstacles spawning, any help will be appreciated, and if anyone has a different way of approaching this random generator then please share it.
Working...
X