If you don’t want them to change and simply want to detect a collision, set them to be Triggers.
collider.isTrigger = true;
or in the Inspector on the Collider Component
If you don’t want them to change and simply want to detect a collision, set them to be Triggers.
collider.isTrigger = true;
or in the Inspector on the Collider Component