make The Raycast Range for Width?

How can i controll The ray Cast Range for its width so it has the field so i can make an Ai enemy so what iwant to do how can i make The Raycast more wider or make 90 multiplay Ray Cast?

1 Answer

1

What you are looking for is SphereCast : Unity - Scripting API: Physics.SphereCast

that's excatly what i wanted thanks

–

Yesss, another alucard! Anyway thanks this worked great!

–