X-Git-Url: http://git.purplebirdman.com/william-skin.git/blobdiff_plain/3e74277bb1d2ad3f5ccdc26c690a0f6e37ffcd25..c84055968443414e67caa33c3a823094ed29365b:/test/cube.tscn diff --git a/test/cube.tscn b/test/cube.tscn index 183e797..8668168 100644 --- a/test/cube.tscn +++ b/test/cube.tscn @@ -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")