[gd_scene format=3] ; Bull charge trail — the blue energy streak that streams off the bull during a roll/dash. ; Continuous: the player instances it once under the bull, toggles `emitting`, and steers ; `direction` opposite the travel direction each frame. Tune the look here; see README.md. [sub_resource type="StandardMaterial3D" id="mat"] transparency = 1 cull_mode = 2 shading_mode = 0 vertex_color_use_as_albedo = true [sub_resource type="SphereMesh" id="mesh"] material = SubResource("mat") radius = 0.065 height = 0.13 radial_segments = 4 rings = 2 [sub_resource type="Curve" id="curve"] _data = [Vector2(0, 1), 0.0, 0.0, 0, 0, Vector2(0.6, 0.8), 0.0, 0.0, 0, 0, Vector2(1, 0), 0.0, 0.0, 0, 0] point_count = 3 [sub_resource type="Gradient" id="grad"] colors = PackedColorArray(0.3, 0.65, 1, 1, 0.3, 0.65, 1, 0) [node name="bull_charge_trail" type="CPUParticles3D"] emitting = false amount = 18 lifetime = 0.3 local_coords = false randomness = 0.4 mesh = SubResource("mesh") direction = Vector3(0, 0.2, 1) spread = 25.0 gravity = Vector3(0, 2, 0) initial_velocity_min = 4.0 initial_velocity_max = 9.0 scale_amount_min = 0.4 scale_amount_max = 1.2 scale_amount_curve = SubResource("curve") color_ramp = SubResource("grad")