Files
hdheist/assets/Player.tscn
T
2024-04-02 17:55:50 +02:00

27 lines
1003 B
Plaintext

[gd_scene load_steps=4 format=3 uid="uid://bqml7625b3l1q"]
[ext_resource type="Script" path="res://src/Player.gd" id="1_la1lv"]
[sub_resource type="ConvexPolygonShape3D" id="ConvexPolygonShape3D_5mrtf"]
points = PackedVector3Array(-0.2, -0.9, -0.2, -0.2, -0.9, 0.2, 0, 0.9, -0.2, 0.2, -0.9, -0.2, 0.2, -0.9, 0.2, 0, 0.9, 0.2)
[sub_resource type="PrismMesh" id="PrismMesh_c7ovg"]
size = Vector3(0.4, 1.8, 0.4)
[node name="Player" type="CharacterBody3D"]
script = ExtResource("1_la1lv")
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.899966, 0)
shape = SubResource("ConvexPolygonShape3D_5mrtf")
[node name="Pivot" type="Node3D" parent="."]
[node name="Camera" type="Camera3D" parent="Pivot"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.899966, 0)
cull_mask = 1048573
[node name="MeshInstance3D" type="MeshInstance3D" parent="Pivot/Camera"]
mesh = SubResource("PrismMesh_c7ovg")
skeleton = NodePath("../../..")