Raycast 360 degrees HUD pie chart
Hello I am doing a visibility check for a boat in VR. So I cast 360 rays towards the water at some Y angle. Some rays get blocked by the boat, some get unobstructed to water plane. Now I would like to make some kind of visual interpretation of that. Like a circle that represents which rays got blocked and which ones did not. How could I do that, like some kind of pie chart or something? But it is really hard to do in Unity. And I would update this like every 20th frame. It is not for a game, but it still has to run smooth on 1080 ti.
http://1dwfr82hjsxj44r7f73jl9qu.wpengine.netdna-cdn.com/wp-content/uploads/2016/06/pie-chart.jpg
Your answer
Follow this Question
Related Questions
OnMouseDown raycast doesnt match UI crosshair 1 Answer
UI not working properly in webgl build (new input system) 0 Answers
Animating UI Elements And more Questions 1 Answer
Have a component ignore all other overlapping raycasts for PointEnter and Exit events? 0 Answers
Adding points for every gameObject on the scene instead of adding points for the destroyed one 0 Answers