Added a loot component
This commit is contained in:
client
@ -66,9 +66,10 @@ billboard_mode = 1
|
||||
billboard_keep_scale = true
|
||||
|
||||
[sub_resource type="SphereShape3D" id="SphereShape3D_rytrf"]
|
||||
radius = 1.5
|
||||
radius = 1.0
|
||||
|
||||
[node name="Soul" type="Node3D"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.5, 0)
|
||||
script = ExtResource("1_mm7cb")
|
||||
|
||||
[node name="Particles" type="GPUParticles3D" parent="."]
|
||||
@ -77,6 +78,7 @@ cast_shadow = 0
|
||||
amount = 50
|
||||
sub_emitter = NodePath("../Trail")
|
||||
lifetime = 0.5
|
||||
visibility_aabb = AABB(-1, -0.5, -1, 2, 2, 2)
|
||||
transform_align = 1
|
||||
process_material = SubResource("ParticleProcessMaterial_uyeuh")
|
||||
draw_pass_1 = SubResource("QuadMesh_6nr8a")
|
||||
@ -85,6 +87,7 @@ draw_pass_1 = SubResource("QuadMesh_6nr8a")
|
||||
unique_name_in_owner = true
|
||||
amount = 5000
|
||||
lifetime = 0.5
|
||||
visibility_aabb = AABB(-1, -0.5, -1, 2, 2, 2)
|
||||
transform_align = 1
|
||||
process_material = SubResource("ParticleProcessMaterial_l1npq")
|
||||
draw_pass_1 = SubResource("QuadMesh_pthhm")
|
||||
@ -112,7 +115,7 @@ collision_layer = 64
|
||||
collision_mask = 512
|
||||
monitorable = false
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Area"]
|
||||
[node name="SphereShape" type="CollisionShape3D" parent="Area"]
|
||||
shape = SubResource("SphereShape3D_rytrf")
|
||||
|
||||
[connection signal="body_entered" from="Area" to="." method="on_body_entered"]
|
||||
|
Reference in New Issue
Block a user