Do moving objects have to be rigid bodies?

I’m trying to manually move a mesh around the world but I want it to collide with walls and make OnCollisionEnter calls and such. Does the mesh I’m moving have to have a rigidbody component to detection collisions with the world in any kind of automated fashion? I suspect it does but I wanted to verify.

It just needs a collider. In case you want to apply physics to it, it needs a rigidbody component, too.

Moving objects don’t have to have a Rigidbody component, but in order to get OnCollisionEnter/OnCollisionExit/OnCollisionStay() messages, one of the objects in questions needs to have one which is non-kinematic.

The docs aren’t quite as easy to understand as we’d want them to be, but it says there:

http://unity3d.com/Documentation/ScriptReference/MonoBehaviour.OnCollisionEnter.html

d.

Ahh, I see now. OK, thanks!