I’m using a raycast to find the tags of objects so that i can chop down trees and pick things up etc, but the ray cast only works if im at 6 feet away and that makes the game quite un-enjoyable. Please help.
try this
Ray ray = Camera.main.ScreenPointToRay(new Vector2(0f,0f));
if(Physics.RayCast(ray, out hit, 2f)){
// Do your stuff here
}
i m assuming that you have only one camera in scene