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.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login