- Home /
Question by
maxerature · Oct 19, 2020 at 05:24 PM ·
2draycastlightingcolliders
[2D] Find nonobscured corners of 2D sprites or collision boxes?
I'm trying to create a dynamic lighting system for my current project and don't know how to go about doing it.
I am unsure how I would go about doing this - locating all 3 visible corners of the object. I was thinking of somehow using a box collider 2d for it, but don't know quite how that might work.
required.png
(9.2 kB)
required.png
(9.2 kB)
Comment
Your answer
Follow this Question
Related Questions
Light beam for illumination 2 Answers
Add collision to raycasted object? 2 Answers
[Problem] Cant activate 2D objects with touch? 1 Answer