summaryrefslogtreecommitdiffhomepage
path: root/DeadBody.tscn
diff options
context:
space:
mode:
authorrealtradam <[email protected]>2021-01-21 20:36:39 -0500
committerrealtradam <[email protected]>2021-01-21 20:36:39 -0500
commit9ec667679fddcfbb096a31801052b27667c9a2eb (patch)
treef08bd51c4043fccc5024b685f6f0ffbe55827e6d /DeadBody.tscn
parent32528712befef39670f2ef30974e33fa291cebe3 (diff)
downloadE-C-Kai-9ec667679fddcfbb096a31801052b27667c9a2eb.tar.gz
E-C-Kai-9ec667679fddcfbb096a31801052b27667c9a2eb.zip
added physics interaction with playerHEADmaster
Diffstat (limited to 'DeadBody.tscn')
-rw-r--r--DeadBody.tscn12
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 )