This site requires JavaScript, please enable it in your browser!
Greenfoot back
cxcpio
cxcpio wrote ...

2020/11/14

Is there a way to check if 2 objects are overlapping?

cxcpio cxcpio

2020/11/14

#
I am making a game where the computer randomly adds object onto a grid. The objects will be on the grid but I want to make sure the objects do not overlap each other even if they overlap the grid.
Super_Hippo Super_Hippo

2020/11/14

#
Use the isTouching-method to check if it overlaps with another one.
You need to login to post a reply.