<ask about collider>

I want to ask how to Vector3 collider with another object, I have AI scripts using vector3.moveTowards, but when my AI collided with a player no collider process, please help me? sorry for my english pronounce.

Vector3 is just a point and cannot be used to collide. You should add Collider Components to the both Game objects wich colliding.

thx for your reply, i have try give box collider to my enemy but still my enemy can pass through my player, this is my movement script
public float speed = 4;
public Vector3 PosisiTarget;

void Awake () {

PosisiTarget = transform.position;
}

void Update () {

transform.position = Vector3.MoveTowards(transform.position, PosisiTarget, speed * Time.deltaTime);

}