Box Collider and Cube relationship

Box Collider describes “Size = The size of the Collider in the X, Y, Z directions.”.

I have created 2 cubes:

  1. Scale down the first cube to (0.5, 0.5, 0.5)
  2. Scale up the second cube to (2.0, 2.0, 2.0)

The default Box Collider Size is (1, 1, 1).

Do I need to change Box Collider Size to the following?

  1. Scale down the first Box Collider to (0.5, 0.5, 0.5)
  2. Scale up the second Box Collider to (2.0, 2.0, 2.0)

Or leave their Size to (1, 1, 1) ?

Thanks in advance for your help.

Scaling the GameObject will also scale the collider so you can leave it at (1 , 1 ,1). If you scaled the mesh, then you do need to change the size of the collider appropriately.