I’m having an issue regarding how the fill texture is used on SpriteShape2D objects. For some strange reason it’s cutting around inner corners and creating a triangle where it shouldn’t.
How it appears in-game is on the left, and the intended appearance is on the right:
I’m noticing that the position of the points of the triangle are where the inner corner sprite connects to the side sprites. The edges of the sprites are shown in cyan below, with the orange triangle being approximately where the glitch triangle is appearing:
What is causing this glitch? I’ve been unable to find any resources online talking about this issue and I’m reaching a wit’s end. I have a feeling that I might have structured my sprite incorrectly and that the corner should be near the top right of the sprite instead of the center, but something about that just feels… wrong. For the sake of making sure I show everything that might have to do with this, I’m also including a screenshot of the SpriteShape’s settings in the inspector:
Any help on this would be hugely appreciated. Thank you!