My vehicle goes through walls and floors disregarding all colliders

I have a vehicle for a game I am making, and it can go through anything, it is supposed to not be able to go through the floor or walls but it does. I have colliders on all my objects and multiple colliders on objects that are triggered.

Here is the Script:

public Transform ufoPos;
public GameObject UFOPrefab;
public GameObject PlayerPrefab;
public float rotateSpeed;

void OnTriggerEnter (Collider other) {

    GetComponent<ufoMovement>().enabled = true;


void Update () {
	var x = Input.GetAxis ("Vertical");
    var y = Input.GetAxis ("Horizontal");

	transform.Translate (0,x,y);

    if (Input.GetKey(KeyCode.E)) {

    }   if (Input.GetKey(KeyCode.X)) {
        PlayerPrefab.transform.position = ufoPos.position;
        GetComponent<ufoMovement>().enabled = false;


does your UFO have a rigidbody?

make sure Is Trigger is unchecked in both game objects. if yes, make sure they both have rigidbody set to dynamic and set the gravity to 0.