Questions tagged [polygoncollider2d]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
60 views

What is an alternative solution to the problem of polygon collider2D not following character (animation)movement?

A 2D game and a bird's eye view of the character. This character, who has a knife in his hand, swings the knife by waving his arm, just at this time, I look at "polygon collider2d" from the ...
0
votes
1answer
532 views

How to align the Polygon Collider 2D in Unity to match the position of Sprite?

How to align the Polygon Collider 2D in Unity to match the position of Sprite? I have a game object. It has a Sprite Renderer with an image. Now I add a Polygon Collider 2D component to the game ...
1
vote
2answers
580 views

Pygame polygon click detection

Here is my problem: I am creating a game and I have a board made out of polygons (hexagons). I want to be able to click on the different tiles but I can't find a simple method. I understood how to ...
0
votes
0answers
273 views

Is a simple PolygonCollider2D really worse than several BoxCollider2Ds?

In my scene I have very simple quadrilateral blocks, which I'm considering using PolygonCollider2D for. These blocks will be the building blocks of the scenery so ...
0
votes
0answers
779 views

Unity Generating PolygonCollider from mesh

I generated a procedural mesh using marching squares and the MeshFilter component (it's 2 dimensional). Now I got the point that I need do collision detection with ...