I am working on a small project which involves stealthing, and i would like to know how to make a cone of view for the enemies without using the "Line-of-sight" behaviour. I already know how to make the enemies move and how to make they follow the player, that's the only thing i don't know how to do.
Thanks in advance.
Develop games in your browser. Powerful, performant & highly capable.
You can pin a Sprite Object that has a clone shaped collision polygon. On Sprite Overlap they are in sight.
Uncheck the initially visible box on the sprite to hide the Sprite.
Do you mean a visible cone of view? Check out these two demos: