How to rotate an object but keep it's collider

Hi. I am using `transform.Rotate` to make an object spin, but I want it to keep it's collider. Anyone have any idea how to do this? All help is appretiated.

Make the collider in separate object.

Simple.

Just go to Assets---Create Empty.

Then Select the empty asset and go to Component--Box Collider(or the collider you need)

Add the collider to your object, and there you have it.

Good Luck Joe.