Have added mesh Collider still I fly trough


I am making space game, I have mesh collider and mesh Renderer on my space rock (witch I don't want to fly though).

Then I have my spaceship witch is set up with main camera, in the main camera I have the spaceship and it has mesh Renderer and mesh Collider on it.

I have found out if I put rigid body on the space rocks I don't fly though them, but if I have the rigidbody they start moving every time I tough them.

I don't know what to do :S My thecher can't even help me.

Colliders that aren't rigid bodies will only cause collision events, not physical responses from the physics engine. If you don't want the rocks to move, make them very massive and give your ship a small mass. F = ma. Simple physics.