Hello everyone.
In my game, random items spawns at map for player to collect.
But sometimes, it spawns in buildings.
To fix that, i made a code that checks if building and item collide. If they do, it teleports the item to elswhere.
But it don’t seem to work.
How can i do it?
Thanks.