Published
- 1 min read
raycast from center
The solution for this is noted below
raycast from center
Solution
Transform cam = Camera.main.gameObject.transform;
Ray ray = new Ray(cam.position, cam.forward);
Try other methods by searching on the site. That is if this doesn’t work