29 lines
1.3 KiB
Plaintext
29 lines
1.3 KiB
Plaintext
|
[gd_scene load_steps=5 format=3 uid="uid://ccm77j5rkh21w"]
|
||
|
|
||
|
[ext_resource type="Script" path="res://scripts/character_controller.gd" id="1_sue4n"]
|
||
|
[ext_resource type="Texture2D" uid="uid://d1nfjip21kjpu" path="res://addons/kenney_prototype_textures/orange/texture_13.png" id="2_i60ip"]
|
||
|
|
||
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_m6bjf"]
|
||
|
albedo_texture = ExtResource("2_i60ip")
|
||
|
|
||
|
[sub_resource type="CylinderShape3D" id="CylinderShape3D_1sre5"]
|
||
|
|
||
|
[node name="Character" type="Node3D"]
|
||
|
|
||
|
[node name="CharacterBody3D" type="CharacterBody3D" parent="."]
|
||
|
script = ExtResource("1_sue4n")
|
||
|
|
||
|
[node name="Body" type="CSGCylinder3D" parent="CharacterBody3D"]
|
||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.975222, 0)
|
||
|
material_override = SubResource("StandardMaterial3D_m6bjf")
|
||
|
|
||
|
[node name="CameraMount" type="Node3D" parent="CharacterBody3D/Body"]
|
||
|
transform = Transform3D(1, 0, 0, 0, 0.999971, 0.00759248, 0, -0.00759248, 0.999971, 0, 0.951, 0)
|
||
|
|
||
|
[node name="Camera" type="Camera3D" parent="CharacterBody3D/Body/CameraMount"]
|
||
|
transform = Transform3D(1, 0, 0, 0, 1, -4.65661e-10, 0, 0, 1, 0, 0.0051769, -0.68182)
|
||
|
|
||
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="CharacterBody3D"]
|
||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.981342, 0)
|
||
|
shape = SubResource("CylinderShape3D_1sre5")
|