Way to visualize Ray Perception Sensor

Hi,

I was wondering, if there is an easy way to draw the Debug gizmos of the Ray Perception Sensor ingame for demonstration purposes?

Thanks!

Yes, with Line Renderer Unity - Manual: Line Renderer component

Just draw a line from the point you cast the raycast to the point where it hits. and if it doesn’t hit, then to the point it would reach if it continued to the length of the raycast

depending on what you want to achieve, the silliest solution is to select the agent from the gameobjects list and press play. among the other things (like agent colliders, child camera etc.) it will show the rays of the sensor. Make sure you have Gizmos activated on the game windows. might be enough for a simple demonstration.