Add effect dissolve when player click/touch object
This commit is contained in:
@@ -1,12 +1,13 @@
|
||||
[gd_scene load_steps=5 format=2]
|
||||
[gd_scene load_steps=6 format=2]
|
||||
|
||||
[ext_resource path="res://assets/props/dagger/dagger.mesh" type="ArrayMesh" id=1]
|
||||
[ext_resource path="res://assets/props/misc/plane.mesh" type="ArrayMesh" id=2]
|
||||
[ext_resource path="res://developers/jeremy/Dagger.gd" type="Script" id=3]
|
||||
[ext_resource path="res://assets/props/dagger/materials/MA_dagger.material" type="Material" id=4]
|
||||
|
||||
[sub_resource type="CapsuleShape" id=1]
|
||||
radius = 0.136165
|
||||
height = 0.0793334
|
||||
radius = 0.0928268
|
||||
height = 0.330033
|
||||
|
||||
[node name="Spatial" type="Spatial"]
|
||||
script = ExtResource( 3 )
|
||||
@@ -20,13 +21,14 @@ mesh = ExtResource( 2 )
|
||||
material/0 = null
|
||||
|
||||
[node name="dagger" type="MeshInstance" parent="."]
|
||||
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -0.542265, 0.160108, -0.620212 )
|
||||
transform = Transform( 0.40207, 0.904171, -0.144269, 0.267663, 0.034613, 0.962891, 0.875612, -0.425765, -0.228096, -0.471081, 0.0121503, -0.16144 )
|
||||
mesh = ExtResource( 1 )
|
||||
material/0 = null
|
||||
material/0 = ExtResource( 4 )
|
||||
|
||||
[node name="Area" type="Area" parent="dagger"]
|
||||
|
||||
[node name="CollisionShape" type="CollisionShape" parent="dagger/Area"]
|
||||
transform = Transform( 0.984898, 0.0129629, -0.172648, 0.172618, 0.0034483, 0.984983, 0.0133636, -0.99991, 0.00115858, 0, 0.0899074, 0 )
|
||||
shape = SubResource( 1 )
|
||||
|
||||
[connection signal="input_event" from="dagger/Area" to="." method="_on_Area_input_event"]
|
||||
|
||||
Reference in New Issue
Block a user