Squishy ball + hitTheWall

Hey!

I’m making a pretty simple, basic game. It’s going to be a squishy circle inside a rotating square. When you rotate the square the squishy ball move around the walls, and if you rotate a lot it falls down until it hits the lower part of the square. Was that a good explanation? I actually got confused myself :slight_smile:
Well, of course there’s a point to the game but those parts I’ll manage myself.

These are the things I’d like to know:

  1. How to make the ball stay inside the square.
  2. How to make the ball “squishy”.

You don’t have to explain everything here if you don’t want to but please point me at the right tutorial or something similar.

Thanks