[gd_scene load_steps=9 format=2] [ext_resource path="res://assets/all_gbs/mc_rocket_proximity.gbs.obj" type="ArrayMesh" id=1] [ext_resource path="res://entities/genericprojectile.gd" type="Script" id=2] [ext_resource path="res://addons/Trail/trail_3d.gd" type="Script" id=3] [ext_resource path="res://effects/fx_prox_explosion.tscn" type="PackedScene" id=4] [sub_resource type="Curve" id=2] _data = [ Vector2( 0, 1 ), 0.0, 0.0, 0, 0, Vector2( 1, 0 ), 0.0, 0.0, 0, 0 ] [sub_resource type="Gradient" id=3] offsets = PoolRealArray( 0.032967, 1 ) colors = PoolColorArray( 0.5, 0, 1, 1, 1, 1, 1, 1 ) [sub_resource type="CapsuleShape" id=4] height = 6.21251 [sub_resource type="CapsuleShape" id=1] radius = 9.20595 height = 6.01707 [node name="Projectile" type="RigidBody"] gravity_scale = 0.0 script = ExtResource( 2 ) bullet_speed = 5000.0 lifetime = 2.0 fx_explode = ExtResource( 4 ) proximity_collision_area_path = NodePath("Area") properties = 956 [node name="MeshInstance" type="MeshInstance" parent="."] transform = Transform( 1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, 0, 0, 0 ) mesh = ExtResource( 1 ) material/0 = null material/1 = null [node name="Trail3D" type="ImmediateGeometry" parent="."] script = ExtResource( 3 ) base_width = 10.0 width_profile = SubResource( 2 ) color_gradient = SubResource( 3 ) [node name="CollisionShape" type="CollisionShape" parent="."] shape = SubResource( 4 ) [node name="Area" type="Area" parent="."] [node name="Proximity" type="CollisionShape" parent="Area"] shape = SubResource( 1 ) [connection signal="body_entered" from="Area" to="." method="proximity_body_entered"]