Using Shape2D or similar in LightOccluder2D instead of a PackedVector2DArray #12932
SubtleUnrest
started this conversation in
2D
Replies: 1 comment
-
Moving to discussion, as there is no concrete technical implementation provided. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the project you are working on
I am working on a 2d side-view videogame.
Describe the problem or limitation you are having in your project
Not a problem for me but dealing with capsules or circles seems like it would require some hacks.
Describe the feature / enhancement and how it helps to overcome the problem or limitation
I am generating LightOccluder2D objects from CollisionShape2D children of a StaticBody2D object, being able to use the shape2d resource in the LightOccluder2D would cut out a bunch of boilerplate.
Basically I am asking to move this boilerplate into the engine.
Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams
This field is nonsense.
If this enhancement will not be used often, can it be worked around with a few lines of script?
It can be worked around with a bunch of lines of script.
Is there a reason why this should be core and not an add-on in the asset library?
Because I don't use add-ons.
Beta Was this translation helpful? Give feedback.
All reactions