no depth test for the hand

This commit is contained in:
Victor Turgeon
2022-10-11 15:07:07 -04:00
parent 8975fbed27
commit 104f0c5f92
3 changed files with 8 additions and 15 deletions

View File

@@ -1,4 +1,4 @@
[gd_scene load_steps=10 format=2]
[gd_scene load_steps=12 format=2]
[ext_resource path="res://Player.gd" type="Script" id=1]
[ext_resource path="res://BlenderStuff/Hand/protohand.obj" type="ArrayMesh" id=2]
@@ -13,6 +13,7 @@ height = 3.0
[sub_resource type="CylinderShape" id=3]
[sub_resource type="SpatialMaterial" id=4]
flags_no_depth_test = true
albedo_texture = ExtResource( 3 )
uv1_triplanar = true
@@ -120,6 +121,7 @@ cast_to = Vector3( 0, -1.5, 0 )
[node name="HandMovement" type="AnimationPlayer" parent="."]
anims/RESET = SubResource( 5 )
anims/basic_slap = SubResource( 6 )
[node name="AudioSlap" type="AudioStreamPlayer3D" parent="."]
stream = ExtResource( 5 )