Fixed particle position
This commit is contained in:
@ -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:
|
||||
|
@ -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")
|
||||
|
Reference in New Issue
Block a user