giants-godot/projectiles/proximity.tscn

44 lines
1.3 KiB
Plaintext

[gd_scene load_steps=8 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]
[sub_resource type="CapsuleShape" id=1]
radius = 9.20595
height = 6.01707
[sub_resource type="ParticlesMaterial" id=2]
[sub_resource type="Curve" id=3]
_data = [ Vector2( 0, 1 ), 0.0, 0.0, 0, 0, Vector2( 1, 0 ), 0.0, 0.0, 0, 0 ]
[sub_resource type="Gradient" id=4]
offsets = PoolRealArray( 0.032967, 1 )
colors = PoolColorArray( 0.5, 0, 1, 1, 1, 1, 1, 1 )
[node name="Projectile" type="RigidBody"]
gravity_scale = 0.0
script = ExtResource( 2 )
BULLET_SPEED = 10000.0
LIFETIME = 2.0
[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="CollisionShape" type="CollisionShape" parent="."]
shape = SubResource( 1 )
[node name="Particles" type="Particles" parent="."]
visible = false
process_material = SubResource( 2 )
[node name="Trail3D" type="ImmediateGeometry" parent="."]
script = ExtResource( 3 )
base_width = 10.0
width_profile = SubResource( 3 )
color_gradient = SubResource( 4 )