better debug player bean "model"

This commit is contained in:
2022-12-05 22:22:51 +01:00
parent 31826e2e7e
commit 08734f1186

View File

@@ -1,7 +1,17 @@
[gd_scene load_steps=5 format=3 uid="uid://b2ncexsbkd2ca"] [gd_scene load_steps=8 format=3 uid="uid://b2ncexsbkd2ca"]
[ext_resource type="Script" path="res://src/player.cs" id="1_sqkid"] [ext_resource type="Script" path="res://src/player.cs" id="1_sqkid"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_2m1ud"]
albedo_color = Color(0, 0, 0, 1)
[sub_resource type="TextMesh" id="TextMesh_fc7r6"]
material = SubResource("StandardMaterial3D_2m1ud")
text = ":)"
font_size = 70
[sub_resource type="SphereMesh" id="SphereMesh_72sci"]
[sub_resource type="CapsuleMesh" id="CapsuleMesh_4c62m"] [sub_resource type="CapsuleMesh" id="CapsuleMesh_4c62m"]
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_bfc1o"] [sub_resource type="CapsuleShape3D" id="CapsuleShape3D_bfc1o"]
@@ -11,6 +21,20 @@
[node name="player" type="CharacterBody3D"] [node name="player" type="CharacterBody3D"]
script = ExtResource("1_sqkid") script = ExtResource("1_sqkid")
[node name="debugfacemesh" type="MeshInstance3D" parent="."]
transform = Transform3D(-4.37114e-08, 1, 0, -0.949387, -4.1499e-08, -0.314108, -0.314108, -1.37301e-08, 0.949387, 0.09, 2, -0.45)
mesh = SubResource("TextMesh_fc7r6")
[node name="handright" type="MeshInstance3D" parent="."]
transform = Transform3D(0.4, 0, 0, 0, 0.4, 0, 0, 0, 0.4, 0.7, 1.5, 0)
mesh = SubResource("SphereMesh_72sci")
skeleton = NodePath("")
[node name="handleft" type="MeshInstance3D" parent="."]
transform = Transform3D(0.4, 0, 0, 0, 0.4, 0, 0, 0, 0.4, -0.7, 1.5, 0)
mesh = SubResource("SphereMesh_72sci")
skeleton = NodePath("")
[node name="mesh" type="MeshInstance3D" parent="."] [node name="mesh" type="MeshInstance3D" parent="."]
transform = Transform3D(0.999994, 0, 0.00349065, 0, 1.2, 0, -0.00349065, 0, 0.999994, 0, 1.2, 0) transform = Transform3D(0.999994, 0, 0.00349065, 0, 1.2, 0, -0.00349065, 0, 0.999994, 0, 1.2, 0)
mesh = SubResource("CapsuleMesh_4c62m") mesh = SubResource("CapsuleMesh_4c62m")