Flashlight collider, enable YSort, bug: character is shaking while moving
This commit is contained in:
parent
a610cd0561
commit
434493578c
5 changed files with 114 additions and 51 deletions
5
prefabs/light_sense.tscn
Normal file
5
prefabs/light_sense.tscn
Normal file
|
@ -0,0 +1,5 @@
|
|||
[gd_scene format=3 uid="uid://cf0wpahgwygxx"]
|
||||
|
||||
[node name="LightSense" type="Area2D"]
|
||||
collision_layer = 2
|
||||
collision_mask = 2
|
Loading…
Add table
Add a link
Reference in a new issue