Polygon Collider 2D - Can't add vertices

I can’t seem to add vertices with the polygon collider.
I added a polygon collider 2D component to a sprite.

I can click on the existing green vertices and move them around.
If I hold down the CTRL key while clicking a vertex, the vertex is properly deleted.

However, if when I hold down the SHIFT key while clicking on the green line between two collider vertices, nothing happens.
I get no new vertex.

QUESTION 1: What am I doing wrong?
QUESTION 2: Can I hide the sprite outline and vertices while I’m messing with the collider vertices?

Thanks.

  1. Maybe your polygon is too small. When the nodes are too close you will have a very hard time selecting in between them to create another. Look for a node to appear then you know you got it.
  2. Click the little arrow to minimize the component and hide the outline. 1439228--77169--$polygon2.PNG I keep my collider and outline on separate gameobjects to avoid conflicts.

spaycd,

Thanks for the reply.
I don’t believe the polygon size is the issue.
If I move the polygon vertices way far apart, shift-clicking on the line segments still does nothing.

– Paul

It’s not really shift-clicking, it’s holding shift and then clicking where you want a new vertex, and then dragging (just clicking won’t do it). If you collapse the sprite renderer component, the outline is hidden. You can also switch to the rotate or scale tools.

–Eric

Eric,

Thanks for the response.
I am very familiar with the dynamic of holding shift while click-dragging.

– Paul

I removed everything and started from scratch and now it’s working.
Thanks for the patience.

All you need to do is zoom in a bit and you should be able to make new vertices. And the sprite outliner can be hided by changing your scene control tools in the top left of the UI from the arrows(blue) to the hand(red)

1727527--108955--KarmaINEED.png