34 lines
1.6 KiB
Plaintext
34 lines
1.6 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="PackedScene" uid="uid://ceywbkneyatpw" path="res://scenes/utils/body.tscn" id="2_2couv"]
|
|
[ext_resource type="PackedScene" uid="uid://d21giy40pnjhe" path="res://scenes/weapon/pistol.tscn" id="2_blr4e"]
|
|
|
|
[sub_resource type="CylinderShape3D" id="CylinderShape3D_1sre5"]
|
|
|
|
[node name="Character" type="Node3D"]
|
|
|
|
[node name="CharacterBody3D" type="CharacterBody3D" parent="."]
|
|
script = ExtResource("1_sue4n")
|
|
|
|
[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")
|
|
|
|
[node name="character" parent="CharacterBody3D" instance=ExtResource("2_2couv")]
|
|
transform = Transform3D(-1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 0, 0, 0)
|
|
visible = false
|
|
|
|
[node name="UpperTorso" type="CSGSphere3D" parent="CharacterBody3D"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.2734, 0)
|
|
radius = 0.001
|
|
|
|
[node name="CameraMount" type="Node3D" parent="CharacterBody3D/UpperTorso"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.236781, 0.381951)
|
|
|
|
[node name="Camera" type="Camera3D" parent="CharacterBody3D/UpperTorso/CameraMount"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, -4.65661e-10, 0, 0, 1, 0, 0.0051769, -0.68182)
|
|
|
|
[node name="Pistol" parent="CharacterBody3D/UpperTorso" instance=ExtResource("2_blr4e")]
|
|
transform = Transform3D(-1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 0.0372534, 0.13185, -0.486869)
|