How do I make raycast rotate from certain angle? (SOLVED)

Hi guys, i’m new here, is there a way to make raycast rotate from certain angle and make it looping, for example from 0 to 90 degrees? thanks in advance

Something like this will do the trick:

1 Like

Thank you! it working fine