diff --git a/scenes/world/Player.tscn b/scenes/world/Player.tscn index 414a32e..b805acd 100644 --- a/scenes/world/Player.tscn +++ b/scenes/world/Player.tscn @@ -7,8 +7,7 @@ [ext_resource type="Texture2D" uid="uid://c5p7utpptgtww" path="res://GFX/BlinkMeter.jpg" id="5_iwhsa"] [ext_resource type="Texture2D" uid="uid://den5phi138pyh" path="res://GFX/StaminaMeter.jpg" id="6_g44nt"] -[sub_resource type="BoxShape3D" id="BoxShape3D_7hapa"] -size = Vector3(1, 2, 1) +[sub_resource type="CylinderShape3D" id="CylinderShape3D_bsew3"] [sub_resource type="BoxMesh" id="BoxMesh_vju81"] size = Vector3(1, 2, 1) @@ -26,14 +25,14 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.75, 0) [node name="Collision" type="CollisionShape3D" parent="."] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0) -shape = SubResource("BoxShape3D_7hapa") +shape = SubResource("CylinderShape3D_bsew3") [node name="MeshInstance3D" type="MeshInstance3D" parent="Collision"] visible = false mesh = SubResource("BoxMesh_vju81") [node name="SepRay1" type="CollisionShape3D" parent="."] -transform = Transform3D(1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, 0, 0.5, -0.75) +transform = Transform3D(1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, 0, 0.5, -0.55) shape = SubResource("SeparationRayShape3D_u64q7") [node name="RayCast3D" type="RayCast3D" parent="SepRay1"] @@ -42,7 +41,7 @@ enabled = false target_position = Vector3(0, -0.55, 0) [node name="SepRay2" type="CollisionShape3D" parent="."] -transform = Transform3D(1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, 0, 0.5, -0.75) +transform = Transform3D(1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, 0, 0.5, -0.55) shape = SubResource("SeparationRayShape3D_u64q7") [node name="RayCast3D" type="RayCast3D" parent="SepRay2"] @@ -51,7 +50,7 @@ enabled = false target_position = Vector3(0, -0.55, 0) [node name="SepRay3" type="CollisionShape3D" parent="."] -transform = Transform3D(1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, 0, 0.5, -0.75) +transform = Transform3D(1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, 0, 0.5, -0.55) shape = SubResource("SeparationRayShape3D_u64q7") [node name="RayCast3D" type="RayCast3D" parent="SepRay3"] diff --git a/src/Player.gd b/src/Player.gd index cf543f2..5852590 100644 --- a/src/Player.gd +++ b/src/Player.gd @@ -133,8 +133,8 @@ func _process(delta: float) -> void: #Local tempchn% if not UnableToMove: Shake = fmod((Shake + delta * min(Sprint, 1.5) * 7), 720) - #if shake < 180 and fmod(Shake, 360) >= 180 and KillTimer >= 0: - #print("step sound") + if shake < 180 and fmod(Shake, 360) >= 180 and KillTimer >= 0: + print("step sound") #if CurrStepSFX == 0: #temp = GetStepSound(Collider) #