Lighting-System-2D
Lighting-System-2D copied to clipboard
polygon_from_instance - get image angle of the object we are creating polygons from
As it can be seen in the screenshot, if no image_angle is provided (argument1 of the function), it will take by default the image_angle of the object calling this function. It should be inst.image_angle instead of image_angle.