-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
rocket.tscn
68 lines (57 loc) · 2.5 KB
/
rocket.tscn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
[gd_scene load_steps=9 format=3 uid="uid://dw8aoma740mb8"]
[ext_resource type="ArrayMesh" uid="uid://cdt5ygdcnkjwu" path="res://assets/objects/rocket.obj" id="1_pj11b"]
[ext_resource type="Script" path="res://rocket.gd" id="1_vnp65"]
[ext_resource type="PackedScene" uid="uid://cdm1o26gdxjcs" path="res://explosion.tscn" id="3_35nur"]
[ext_resource type="Texture2D" uid="uid://dlu858b1pe7km" path="res://assets/objects/T_fire_flipbook4_sm.png" id="4_2iu1j"]
[sub_resource type="CylinderShape3D" id="CylinderShape3D_g01by"]
height = 1.86361
radius = 0.208445
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_yg68t"]
transparency = 1
shading_mode = 0
vertex_color_use_as_albedo = true
vertex_color_is_srgb = true
albedo_texture = ExtResource("4_2iu1j")
billboard_mode = 3
billboard_keep_scale = true
particles_anim_h_frames = 5
particles_anim_v_frames = 5
particles_anim_loop = false
proximity_fade_enabled = true
proximity_fade_distance = 0.25
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_562q1"]
emission_shape_scale = Vector3(0.6, 0.2, 0.8)
angle_min = -180.0
angle_max = 180.0
direction = Vector3(2.08165e-12, 2.08165e-12, 1)
spread = 10.0
initial_velocity_min = 1.0
initial_velocity_max = 1.0
radial_velocity_min = 0.1
radial_velocity_max = 0.15
gravity = Vector3(2.08165e-12, 1, 2.08165e-12)
scale_min = 0.8
scale_max = 0.8
anim_speed_min = 1.0
anim_speed_max = 1.0
[sub_resource type="QuadMesh" id="QuadMesh_3wxbp"]
[node name="Rocket" type="Area3D"]
collision_layer = 3
script = ExtResource("1_vnp65")
[node name="Rocket" type="MeshInstance3D" parent="."]
transform = Transform3D(-0.707107, 0.707107, -8.74228e-08, 0.707107, 0.707107, -3.48787e-16, 6.18172e-08, -6.18172e-08, -1, 0, 0, 0)
mesh = ExtResource("1_pj11b")
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
transform = Transform3D(1, 0, -1.5246e-23, -1.5246e-23, -4.37114e-08, -1, 0, 1, -4.37114e-08, 2.47304e-39, -2.46254e-09, 0.0563363)
shape = SubResource("CylinderShape3D_g01by")
[node name="Explosion" parent="." instance=ExtResource("3_35nur")]
transform = Transform3D(2, 0, 0, 0, 2, 0, 0, 0, 2, 0, 0, 0)
[node name="GPUParticles3D" type="GPUParticles3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 1.03712)
material_override = SubResource("StandardMaterial3D_yg68t")
emitting = false
amount = 20
lifetime = 0.5
process_material = SubResource("ParticleProcessMaterial_562q1")
draw_pass_1 = SubResource("QuadMesh_3wxbp")
[connection signal="body_entered" from="." to="." method="_on_body_entered"]