feat: fix the block pushing; add new groups for walls and pushable objects;
This commit is contained in:
@@ -9,8 +9,9 @@ size = Vector2(16, 16)
|
||||
atlas = ExtResource("1_83tkd")
|
||||
region = Rect2(127.859436, 47.936436, 16.21347, 16.062302)
|
||||
|
||||
[node name="Block" type="RigidBody2D" unique_id=2096944035]
|
||||
[node name="Block" type="RigidBody2D" unique_id=2096944035 groups=["pushable"]]
|
||||
gravity_scale = 0.0
|
||||
linear_damp = 10.0
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=195703280]
|
||||
shape = SubResource("RectangleShape2D_bqpwv")
|
||||
|
||||
Reference in New Issue
Block a user