konkr_game_3d/scenes/destruction.tscn
ProgramSnail 5408d75267 init
2023-08-09 23:12:19 +03:00

34 lines
845 B
Text

[gd_scene load_steps=4 format=2]
[ext_resource path="res://scripts/Destruction.gd" type="Script" id=1]
[sub_resource type="ParticlesMaterial" id=40]
lifetime_randomness = 0.5
emission_shape = 1
emission_sphere_radius = 0.1
direction = Vector3( 0, 1, 0 )
spread = 90.0
gravity = Vector3( 0, 0, 0 )
initial_velocity = 3.0
initial_velocity_random = 0.5
linear_accel = -3.0
scale = 2.0
scale_random = 1.0
[sub_resource type="SphereMesh" id=41]
radius = 0.2
height = 0.4
[node name="Destruction" type="Spatial"]
[node name="Particles" type="Particles" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0 )
emitting = false
amount = 16
lifetime = 0.6
one_shot = true
explosiveness = 1.0
visibility_aabb = AABB( -2, -2, -2, 4, 4, 4 )
process_material = SubResource( 40 )
draw_pass_1 = SubResource( 41 )
script = ExtResource( 1 )