Hello is it possbile to make raycast smaller like 1 meter long not like 10.If you can do it please tell me.
the 3rd argument is distance
OK thanks it worked but its a bit stupid beacuse you cant see it even if you put 500meters you will still see only 10 meters but it works.
sounds like you’re “seeing” a debug line cos the ray cast itself wont appear on the screen, just change the length of the debug line to match the raycast