hi . i have a code like this and its very good :
var GO:GameObject; var GO2:Transform;
function Update()
{
GO.transform.position=Vector3.MoveTowards(GO.transform.position,GO2.position,Time.deltaTime*2);
}
But i wana make GO game object donโt change in Y position . i wana GO game object just move for reach X and Z of GO2 !
excuse me for my bad english if have question , just ask