Fixed particle position

This commit is contained in:
Eduard Urbach 2024-02-12 18:44:54 +01:00
parent 43e0825aff
commit cceb6678f5
Signed by: akyoto
GPG Key ID: C874F672B1AF20C0
3 changed files with 9 additions and 6 deletions

View File

@ -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"]

View File

@ -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:

View File

@ -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")