gmtk24/scenes/player.tscn

20 lines
732 B
Plaintext
Raw Normal View History

2024-08-18 17:31:52 +02:00
[gd_scene load_steps=3 format=3 uid="uid://wjbuh7jk50nm"]
[ext_resource type="Script" path="res://scripts/Player.cs" id="1_aff2a"]
[sub_resource type="CylinderShape3D" id="CylinderShape3D_rgktv"]
height = 1.9
radius = 0.3
[node name="Player" type="CharacterBody3D" node_paths=PackedStringArray("Eye")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 4.51124, 0)
script = ExtResource("1_aff2a")
Eye = NodePath("PlayerEyeCamera")
[node name="PlayerEyeCamera" type="Camera3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.7, 0)
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.95, 0)
shape = SubResource("CylinderShape3D_rgktv")