I am sure I am just not searching for the right topics, but I am having trouble with preventing an object from moving through another object (i.e. player controlled object moving through walls). I’ve been able to prevent the player controlled object from moving off the screen, but cannot seem to properly target things like rectangles that exist in the center of the screen.
What is a good way to target those other bodies to disallow the player object to walk through them?