LineCast always returning true

Hey guys. I don’t know what I’m doing wrong because my Linecast method always return true. Even in situation like the one in the print;

alt text

Heres the code I’m using for debug:

using UnityEngine;

using System.Collections;

public class tests : MonoBehaviour {

public Transform To;

// Use this for initialization
void Start () {

}

// Update is called once per frame
void Update () {
	
	if(Physics.Linecast(transform.position, To.position)) {
		Debug.DrawLine(transform.position, To.position);
		print("Something between");
	} else {
		print("Clear");
	}
		

}

}

Hope you guys can help me ‘-’
Thanks from now!

Use the RaycastHit parameter, so you can do print (hit.collider.name); and see what it’s hitting.