Rendered texture > draw polygon collisions
-
Hi guys,
I’m looking for a bit of assistance. I can’t seem to find a solution and hit a block.
I have a project where by I create a rendered texture > draw with polygon coordinates.
I’m trying to set objects with a certain tag to visible when that object intersects with the draw polygon.
I’ve tried the approach of using the collision behaviours etc but I can’t seem to get it to work as expected.![alt text]
The above is a screenshot of what I am working on. Essentially the red box is the player. Using a draw polygon, I extrude a field of view, blue objects are walls and block line of sight. I’m hoping to implement something for the green blocks that would become enemy players and only become visible when they enter the field of view.
Any help or guidance would be appreciated. As I’m banging my head against the wall.
Stuart
-
@Stuart_McKay Hello! I know it's been a while, but there is a new Raycast Test behavior you can try out to detect objects at a specific angle. Hope this helps if you see this.