Quantcast
Channel: GameSalad 101 — GameSalad Forums
Viewing all articles
Browse latest Browse all 8930

spawning different objects at the same X-position without overlapping

$
0
0

Hi!
I have small problem, spawning different objects at the same X-position without overlapping.

I want to spawn 3 different actors at specific X-positions but if one of the actors already is there i dont want a new one to spawn at the same X-position until the first one has left the position(0,5 seconds later maybe).

I was thinking of having a table with the X-positions i wanted to use, thats not a problem, It become a problem when the next actor spawns and it dont recognize the X-position as occupied.

Can anyone help me with this?

Edit: I tried to search to forum to find my answer but i couldnt find any solution to my problem. There were some threads about it but it seemed that the thread-maker found the solution by him self and didnt post how he solved the problem.


Viewing all articles
Browse latest Browse all 8930

Trending Articles