how to make an object move towards another using velocity unity code example
Example: how to make an object move towards another in unity
transform.position = Vector3.MoveTowards(transform.position, taretPos, Qiaternion.identiy)
transform.position = Vector3.MoveTowards(transform.position, taretPos, Qiaternion.identiy)