}//AddPhysics

        public static Bullet Spawn(Vector3 startPos, Vector3 dir, float speed, Color color, float maxDist, float size)
        {
            GameObject bulletObj = GameObject.CreatePrimitive(PrimitiveType.Sphere);

            bulletObj.name = "Bullet";
            bulletObj.transform.position   = startPos;
            bulletObj.transform.localScale = bulletObj.transform.localScale * size;

            MeshRenderer mr = bulletObj.GetComponent <MeshRenderer>();

            mr.material.color = color;

            Bullet bullet = bulletObj.AddComponent <Bullet>();

            bullet.AddPhysics();
            bullet.speed      = speed;
            bullet.dir        = dir;
            bullet.maxDist    = maxDist;
            bullet.startPoint = startPos;

            bulletObj.SetActive(false);

            return(bullet);
        } //Spawn