This would kind of be like raycasting and proximity combined. Like those stealth games where the guards have those vision cones.
2 Likes
Pretty sure you can make this using some kind of way, but if you can’t this would TOTALLY be a feature I’d want on Flowlab!
2 Likes
Well, you could just use multiple raycasts in a cone. That’s how a lot of flowlab 3d engines work.
2 Likes
I forgot about that lol
(You could do a cone of multiple raycasts, but it’s pretty inefficient compared to only casting in the direction of potential targets.)
Here’s a method where you use a Proximity to detect all of the potential targets in an area, then find the angle to them and determine whether they fall within your FOV / cone of “vision”:
5 Likes