Flashlight collider, enable YSort, bug: character is shaking while moving

This commit is contained in:
Иван Кузьменко 2023-08-16 02:04:30 +03:00
parent a610cd0561
commit 434493578c
5 changed files with 114 additions and 51 deletions

5
prefabs/light_sense.tscn Normal file
View file

@ -0,0 +1,5 @@
[gd_scene format=3 uid="uid://cf0wpahgwygxx"]
[node name="LightSense" type="Area2D"]
collision_layer = 2
collision_mask = 2