]> Untitled Git - william-skin.git/blobdiff - test/cube.tscn
* Added face test animation
[william-skin.git] / test / cube.tscn
index 183e797254ef72ccfe46de616b9c9f04c47bcbcf..8668168315d6d0398ecfe5659b21d950448d0d62 100644 (file)
@@ -1,10 +1,13 @@
-[gd_scene load_steps=3 format=3 uid="uid://bxitip7rpbna4"]
+[gd_scene load_steps=4 format=3 uid="uid://bxitip7rpbna4"]
 
 [sub_resource type="BoxMesh" id="BoxMesh_efevn"]
 
 [sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_xbgd7"]
 data = PackedVector3Array(-0.5, 0.5, 0.5, 0.5, 0.5, 0.5, -0.5, -0.5, 0.5, 0.5, 0.5, 0.5, 0.5, -0.5, 0.5, -0.5, -0.5, 0.5, 0.5, 0.5, -0.5, -0.5, 0.5, -0.5, 0.5, -0.5, -0.5, -0.5, 0.5, -0.5, -0.5, -0.5, -0.5, 0.5, -0.5, -0.5, 0.5, 0.5, 0.5, 0.5, 0.5, -0.5, 0.5, -0.5, 0.5, 0.5, 0.5, -0.5, 0.5, -0.5, -0.5, 0.5, -0.5, 0.5, -0.5, 0.5, -0.5, -0.5, 0.5, 0.5, -0.5, -0.5, -0.5, -0.5, 0.5, 0.5, -0.5, -0.5, 0.5, -0.5, -0.5, -0.5, 0.5, 0.5, 0.5, -0.5, 0.5, 0.5, 0.5, 0.5, -0.5, -0.5, 0.5, 0.5, -0.5, 0.5, -0.5, 0.5, 0.5, -0.5, -0.5, -0.5, 0.5, 0.5, -0.5, 0.5, -0.5, -0.5, -0.5, 0.5, -0.5, 0.5, 0.5, -0.5, -0.5, -0.5, -0.5, -0.5)
 
+[sub_resource type="CylinderShape3D" id="CylinderShape3D_yxa2b"]
+radius = 0.881101
+
 [node name="Cube" type="Node3D"]
 
 [node name="MeshInstance3D" type="MeshInstance3D" parent="."]
@@ -16,5 +19,11 @@ mesh = SubResource("BoxMesh_efevn")
 [node name="CollisionShape3D" type="CollisionShape3D" parent="MeshInstance3D/StaticBody3D"]
 shape = SubResource("ConcavePolygonShape3D_xbgd7")
 
-[node name="LockonPoint" type="Node3D" parent="." groups=["player-lockon"]]
+[node name="LockonPoint" type="Node3D" parent="." groups=["player-headTrack", "player-lockon"]]
 transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.572779, 0)
+
+[node name="Area3D" type="Area3D" parent="."]
+
+[node name="CollisionShape3D" type="CollisionShape3D" parent="Area3D"]
+transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0)
+shape = SubResource("CylinderShape3D_yxa2b")