#How to prevent randomly spawned objects to not collide or spawn in the same position
6 messages · Page 1 of 1 (latest)
make sure to do it only x times to prevent infinite loops
i solved this problem
if found another rock then destroy
6 messages · Page 1 of 1 (latest)
workspace:GetPartsBounding()
and check
if smth in rock hitbox, then change position again
make sure to do it only x times to prevent infinite loops
i solved this problem
if found another rock then destroy