• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

How to check for an empty space and not overlap.

M

Mudkip

Guest
So I'm trying to make random tree growth, but make them check if there is an empty space next to them, and if so, grow either 1 object or a different one, but not grow it if there isn't a space. I'm trying to make things not overlap. I'm using mostly drag and drop, but I know how to code. This is my first post so I'm sorry if I'm doing this wrong.
 
C

CptChuckles

Guest
You can also just use the not-operator on checking for overlap. In D&D there should be a checkbox for "not", IIRC
 
Top