using System.Collections;
using System.Collections.Generic;
//using System.Numerics;
using UnityEngine;

public class followSphere : MonoBehaviour
{

    [SerializeField] private Transform sphere;
    private Vector3 start_position;   
    
    // Start is called before the first frame update
    void Awake()
    {
        start_position = this.gameObject.transform.position;
        this.gameObject.transform.position = sphere.position;
    }

    // Update is called once per frame
    void Update()
    {
        this.gameObject.transform.position = new Vector3(sphere.position.x, start_position.y, sphere.position.z);
    }
}
