summaryrefslogblamecommitdiffstats
path: root/assets/weapons/goo_gun/Bullet.tscn
blob: 69ba3b65c91240f5e5ec8e51e092372bc8d6378b (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
                                

                                                                                                        
                                                                               







                                                                 
                   

                      
                 
                         






                                                             

                                                                                   
[gd_scene load_steps=5 format=2]

[ext_resource path="res://assets/characters/base_character/friendly_material.tres" type="Material" id=1]
[ext_resource path="res://assets/weapons/goo_gun/Bullet.gd" type="Script" id=2]

[sub_resource type="SphereMesh" id=1]
material = ExtResource( 1 )

[sub_resource type="SphereShape" id=2]

[node name="Bullet" type="RigidBody"]
transform = Transform( 0.3, 0, 0, 0, 0.3, 0, 0, 0, 0.3, 0, 0, 0 )
gravity_scale = 5.0
contacts_reported = 1
contact_monitor = true
linear_damp = 2.0
script = ExtResource( 2 )

[node name="MeshInstance" type="MeshInstance" parent="."]
mesh = SubResource( 1 )
material/0 = null

[node name="CollisionShape" type="CollisionShape" parent="."]
shape = SubResource( 2 )

[connection signal="body_entered" from="." to="." method="_on_Bullet_body_entered"]