-
Notifications
You must be signed in to change notification settings - Fork 4
/
trail.tscn
50 lines (43 loc) · 1.42 KB
/
trail.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
[gd_scene load_steps=6 format=2]
[ext_resource path="res://trail.gd" type="Script" id=1]
[sub_resource type="SpatialMaterial" id=5]
flags_transparent = true
flags_unshaded = true
flags_vertex_lighting = true
vertex_color_use_as_albedo = true
params_specular_mode = 4
params_blend_mode = 1
albedo_color = Color( 1, 0.943359, 0, 0.192157 )
[sub_resource type="CapsuleMesh" id=2]
material = SubResource( 5 )
radius = 0.4
mid_height = 0.4
radial_segments = 20
rings = 5
[sub_resource type="Curve" id=3]
_data = [ Vector2( 0.0141129, 1 ), 0.0, 0.0, 0, 0, Vector2( 0.328629, 0.720859 ), 0.0, 0.0, 0, 0, Vector2( 0.949597, 0.831288 ), 0.0, 0.0, 0, 0 ]
[sub_resource type="Gradient" id=4]
offsets = PoolRealArray( 0, 0.130841, 0.336449, 0.504673, 0.719626, 1 )
colors = PoolColorArray( 0, 0, 0, 1, 0.959961, 0.0712471, 0.107698, 0.89025, 0.981513, 1, 0.476191, 0.720635, 1, 1, 1, 1, 0.670588, 0.694118, 0, 0.4, 0, 0, 0, 1 )
[node name="trail" type="Spatial"]
script = ExtResource( 1 )
[node name="trailp" type="CPUParticles" parent="."]
emitting = false
amount = 50
lifetime = 0.62
randomness = 1.0
local_coords = false
draw_order = 2
mesh = SubResource( 2 )
emission_shape = 1
emission_sphere_radius = 0.1
direction = Vector3( 0, 0, 1 )
spread = 0.5
gravity = Vector3( 0, 0, 0 )
initial_velocity = 33.0
angular_velocity = 40.0
angular_velocity_random = 1.0
angle = 180.0
angle_random = 1.0
scale_amount_curve = SubResource( 3 )
color_ramp = SubResource( 4 )