Godot Version
v4.7.2.stable.official [ed1daf0bf]
Scenario
I’m trying to create an LightOccluder2D for a given Polygon2D. But I want the LightOccluder2D to be slightly inset from the Polygon2D so that the outside of the polygon is fully light before occluding slightly on the inside. The Polygon2D is not convex, so just scaling isn’t going to work.
Question
Is there a function hiding somewhere in Godot that does this? Polygon2D doesn’t support it, and the actual polygon data isn’t anything special. Quick web search doesn’t suggest anything either.