Hello, I want to create a field of view and draw it.
I used RayCast but I can’t create a good field of view that collide with the obstacles.
I want to create something like this
Any idea is gonna be helpful, thanks!
Mikel
Hello, I want to create a field of view and draw it.
I used RayCast but I can’t create a good field of view that collide with the obstacles.
I want to create something like this
Any idea is gonna be helpful, thanks!
Mikel
Have you tried creating a mesh and changing its vertices to the raycast hit points?