dp-konzultace/player.tscn

37 lines
1.2 KiB
Plaintext

[gd_scene load_steps=5 format=3 uid="uid://cgdlowfuuorvi"]
[ext_resource type="Script" uid="uid://bp1bo57yqtv65" path="res://player.gd" id="1_4flbx"]
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_0xm2m"]
radius = 0.4
height = 1.75
[sub_resource type="SphereShape3D" id="SphereShape3D_lquwl"]
radius = 0.005
[sub_resource type="CapsuleMesh" id="CapsuleMesh_4flbx"]
radius = 0.4
height = 1.75
[node name="Player" type="CharacterBody3D"]
script = ExtResource("1_4flbx")
metadata/teleportable = false
[node name="Camera3D" type="Camera3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.32153, 0)
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.875, 0)
shape = SubResource("CapsuleShape3D_0xm2m")
[node name="TeleportTrigger" type="Area3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.875, 0)
metadata/teleportable_root = NodePath("..")
[node name="CollisionShape3D" type="CollisionShape3D" parent="TeleportTrigger"]
shape = SubResource("SphereShape3D_lquwl")
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.875, 0)
mesh = SubResource("CapsuleMesh_4flbx")