Good morning,
I'm trying to complete my combat system with a line of sight. To put it simply, I want the target to be visible in the target list or usable in the target list only if it's in range (that's good) and if a line of sight is possible, the terrain and gameobjects must block the view.
I think I made the right configuration or at least what seems logical to me but for the moment the line of sight is not blocked by the gameobjects to which I even tried to add a box collider just in case.
I let you here some images of my settings :
https://imgur.com/a/qrcDCDe
Actual (raycasted) line of sight is currently not used there.
I'll look into adding options for that as well.
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
The first one seems to use a raycast to define if target is available,the second one is for the grid shape,what is the difference between these 2 line of sight settings?
https://imgur.com/a/GLuQz2A
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!