Change Raycast from Camera to 3rd person Player

I have a Raycast that comes from my camera but I need it to come from the player object. I’m drawing a blank on how to change the origin. This is important because I need a specific range of the cast but my camera zooms so the origin can’t be on the camera. Here is my code:

		if (Input.GetMouseButtonDown(0))
		{
			RaycastHit hitInfo = new RaycastHit();
			bool hit = Physics.Raycast(Camera.main.ScreenPointToRay(Input.mousePosition), out hitInfo, range);
			if (hit) 
			{
				Debug.Log("Hit " + hitInfo.transform.gameObject.name);
				if (hitInfo.transform.gameObject.tag == "Enemy")
			}
		}

Well, Camera.main.ScreenPointToRay(Input.mousePosition) returns a Ray, so all you need to do is change the origin variable on that ray before you use it for the raycast.

if (Input.GetMouseButtonDown(0))
       {
         RaycastHit hitInfo = new RaycastHit();
         Ray ray = Camera.main.ScreenPointToRay(Input.mousePosition);
         ray.origin = playerObject.transform.position;
         bool hit = Physics.Raycast(ray, out hitInfo, range);
         if (hit) 
         {
          Debug.Log("Hit " + hitInfo.transform.gameObject.name);
          if (hitInfo.transform.gameObject.tag == "Enemy")
         }
       }