Cone of Sight Visualization

Hello guys!

I would like to implement visible 2D cone of sight but I am not sure what is the best way to do it. Maybe there is not better solution than raytraces but how can I then render visible polygon ? I think there must be some faster solution than raytracing. Can you give me some advice on that, please ? :slight_smile:


Similar Unity threads:

Thank you

Hey Nonder :slight_smile:

Nice to see that you finally got your computer, i wont be able to help you on this case but wanted to welcome you on the UE4 boat :slight_smile:


Thank you for your welcome! :slight_smile: I really appreciate it. HW is not best but it can atleast run engine, hopefully I will :slight_smile:

Sorry for OT guys :slight_smile:

I still would like to hear some advices on this problem :slight_smile:

Not sure exactly what you’re looking this post eventually talks about how to generate a mesh at runtime - you could take the view frustrum and turn it into a mesh in the world.

Maybe this article might help you

Thank you guys, It looks like there is not better way than raytracing. That is very nice article TiGuy and is definitely helpful. I think combination of raytracing and mesh generation is everything what I need :slight_smile: