Solid objects

How to make a solid object so that character cannot walk through?
My main object is a big spaceship ( Screenshot by Lightshot ) but my character can walk through (activated components on the spaceship: Screenshot by Lightshot activated components on the character: Screenshot by Lightshot ).

In order for physics to do its job, and keep objects from interpenetrating, you need to add colliders on both of your objects.