33 lines
1.1 KiB
Text
33 lines
1.1 KiB
Text
[gd_scene load_steps=4 format=3 uid="uid://cy86jyiy6skvk"]
|
|
|
|
[ext_resource type="Script" path="res://scripts/player.gd" id="1_ocinr"]
|
|
|
|
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_ljkaw"]
|
|
|
|
[sub_resource type="CapsuleMesh" id="CapsuleMesh_muavk"]
|
|
|
|
[node name="Player" type="CharacterBody3D"]
|
|
script = ExtResource("1_ocinr")
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0)
|
|
shape = SubResource("CapsuleShape3D_ljkaw")
|
|
|
|
[node name="CSGMesh3D" type="CSGMesh3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0)
|
|
mesh = SubResource("CapsuleMesh_muavk")
|
|
|
|
[node name="Camera3D" type="Camera3D" parent="CSGMesh3D"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0)
|
|
fov = 90.0
|
|
|
|
[node name="Ball" type="CSGSphere3D" parent="."]
|
|
radius = 0.1
|
|
|
|
[node name="Flashlight" type="SpotLight3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 0.990268, 0.139173, 0, -0.139173, 0.990268, 0, 1.5, -0.4)
|
|
light_color = Color(1, 1, 0.768627, 1)
|
|
shadow_enabled = true
|
|
distance_fade_enabled = true
|
|
spot_range = 23.178
|
|
spot_angle = 40.14
|