diff options
Diffstat (limited to 'DeadBody.tscn')
| -rw-r--r-- | DeadBody.tscn | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/DeadBody.tscn b/DeadBody.tscn index b0d0062..77b4aeb 100644 --- a/DeadBody.tscn +++ b/DeadBody.tscn @@ -1,12 +1,18 @@ -[gd_scene load_steps=3 format=2] +[gd_scene load_steps=4 format=2] [ext_resource path="res://Assets/kenny_complete/Base pack/Player/p1_duck.png" type="Texture" id=1] +[sub_resource type="PhysicsMaterial" id=2] +friction = 5.64 + [sub_resource type="RectangleShape2D" id=1] extents = Vector2( 34.8766, 35.7335 ) -[node name="DeadBody" type="RigidBody2D"] -gravity_scale = 3.49 +[node name="DeadBody" type="RigidBody2D" groups=[ +"bodies", +]] +physics_material_override = SubResource( 2 ) +gravity_scale = 20.0 [node name="CollisionShape2D" type="CollisionShape2D" parent="."] shape = SubResource( 1 ) |
