Explosion_der_Spiele/scenes/prefabs/player.tscn
copilot 1cc8aa9b9d Add village 3D wiring, voice lines, and 1.74 m world scale.
Houses ~8.5 m; chimps capped ~0.85 m with safer axis fitting. Large GLB/PBR packs stay local until Git LFS (Forgejo HTTP 413).

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-15 12:02:57 +02:00

38 lines
1.2 KiB
Text

[gd_scene load_steps=4 format=3]
[ext_resource type="Script" path="res://scripts/player/player_controller.gd" id="1"]
[ext_resource type="PackedScene" path="res://scenes/prefabs/billboard_sprite.tscn" id="2"]
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_1"]
radius = 0.32
height = 1.74
[sub_resource type="SphereShape3D" id="SphereShape3D_spring"]
radius = 0.2
[node name="Player" type="CharacterBody3D"]
collision_layer = 2
collision_mask = 1
script = ExtResource("1")
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.87, 0)
shape = SubResource("CapsuleShape3D_1")
[node name="BillboardSprite" parent="." instance=ExtResource("2")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0)
target_height = 1.74
max_width = 2.2
[node name="CameraYaw" type="Node3D" parent="."]
[node name="SpringArm3D" type="SpringArm3D" parent="CameraYaw"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.62, 0)
spring_length = 6.0
collision_mask = 1
margin = 0.2
shape = SubResource("SphereShape3D_spring")
[node name="Camera3D" type="Camera3D" parent="CameraYaw/SpringArm3D"]
current = true
fov = 70.0