diff --git a/client/Main.tscn b/client/Main.tscn index a9290c6..639c460 100644 --- a/client/Main.tscn +++ b/client/Main.tscn @@ -176,6 +176,12 @@ skeleton = NodePath("../..") [node name="House" parent="World" instance=ExtResource("23_5j7b3")] transform = Transform3D(-1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, -6.04985, 0, -6.15938) +[node name="Souls" parent="World" instance=ExtResource("21_8ne8m")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3, 0, -9) + +[node name="Souls2" parent="World" instance=ExtResource("21_8ne8m")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3, 0, 9) + [node name="Players" type="Node3D" parent="."] unique_name_in_owner = true script = ExtResource("16_dp6bj") @@ -183,9 +189,6 @@ script = ExtResource("16_dp6bj") [node name="UI" parent="." instance=ExtResource("17_43qhq")] process_mode = 3 -[node name="Souls" parent="." instance=ExtResource("21_8ne8m")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.92295, 0, -0.238058) - [connection signal="timeout" from="Client/Ping/Timer" to="Client/Ping" method="send_ping"] [connection signal="timeout" from="Client/Login/Timer" to="Client/Login" method="send_login"] [connection signal="timeout" from="Client/Statistics" to="Client" method="update_statistics"] diff --git a/client/item/soul/Soul.gd b/client/item/soul/Soul.gd index 6d96c2d..bc833e0 100644 --- a/client/item/soul/Soul.gd +++ b/client/item/soul/Soul.gd @@ -21,7 +21,7 @@ func _process(delta): if !collected_by: return - position = lerp(position, Global.player.position + Vector3.UP, 1.0 * delta) + global_position = lerp(global_position, Global.player.global_position + Vector3.UP, 1.0 * delta) func on_body_entered(body: Node3D): if body is Player: diff --git a/client/item/soul/Soul.tscn b/client/item/soul/Soul.tscn index f594728..d569814 100644 --- a/client/item/soul/Soul.tscn +++ b/client/item/soul/Soul.tscn @@ -21,7 +21,7 @@ hue_variation_min = -0.03 hue_variation_max = 0.03 turbulence_noise_speed = Vector3(0.5, 0.5, 0.5) sub_emitter_mode = 1 -sub_emitter_frequency = 50.0 +sub_emitter_frequency = 100.0 [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_gl2xl"] transparency = 1 @@ -83,7 +83,7 @@ draw_pass_1 = SubResource("QuadMesh_6nr8a") [node name="Trail" type="GPUParticles3D" parent="."] unique_name_in_owner = true -amount = 2500 +amount = 5000 lifetime = 0.5 transform_align = 1 process_material = SubResource("ParticleProcessMaterial_l1npq")