- Home /
This question was
closed Aug 09, 2017 at 08:49 AM by
meatybadger for the following reason:
Other
Question by
meatybadger · Aug 09, 2017 at 07:48 AM ·
2dlightingclippingcookie
Clipping 2D cookie light as if it were 3D
In my 2D scene I have a light with a triangular cookie. I would like this cookie to clip and stop when it hits the ground, like the cone of a normal 3D light would. I also have 2D sprites moving around, and I don't want them to clip. How can I do this?
Comment
Answer by ShadyProductions · Aug 09, 2017 at 07:53 AM
Add a collider to it so it collides with the ground collider?
No, that's exactly it, it needs to clip through and not collide.
Follow this Question
Related Questions
2D Lantern Lighting Effects/Fog of War 1 Answer
(URP) Is there any way to make 2D shadows fade over distance using URP? 0 Answers
Torchlight effect in 2D 3 Answers
Directional light 2D 0 Answers