feat: setup initial repo and smallest working scene
This commit is contained in:
@@ -0,0 +1,74 @@
|
||||
[gd_scene load_steps=9 format=3 uid="uid://rs3hv73svbpa"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://4mg67crlim53" path="res://scenes/player/player.gd" id="1_o5qli"]
|
||||
[ext_resource type="Script" uid="uid://ii8ai801jur2" path="res://scenes/player/camera_rig.gd" id="2_0wfyh"]
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_o5qli"]
|
||||
albedo_color = Color(0.16862746, 0.52156866, 0.30588236, 1)
|
||||
|
||||
[sub_resource type="BoxMesh" id="BoxMesh_sgp6g"]
|
||||
|
||||
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_o5qli"]
|
||||
radius = 0.4
|
||||
height = 1.7
|
||||
|
||||
[sub_resource type="CapsuleMesh" id="CapsuleMesh_sgp6g"]
|
||||
|
||||
[sub_resource type="BoxMesh" id="BoxMesh_0wfyh"]
|
||||
|
||||
[sub_resource type="Environment" id="Environment_o5qli"]
|
||||
background_mode = 1
|
||||
background_color = Color(0.46428233, 0.7990817, 0.98692364, 1)
|
||||
ambient_light_source = 2
|
||||
ambient_light_color = Color(1, 1, 1, 1)
|
||||
ambient_light_energy = 0.5
|
||||
|
||||
[node name="Main" type="Node3D"]
|
||||
|
||||
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
|
||||
transform = Transform3D(0.8660254, -0.43301272, 0.24999999, 0, 0.49999997, 0.86602545, -0.5, -0.75, 0.43301266, 0, 0, 0)
|
||||
light_energy = 2.0
|
||||
|
||||
[node name="World" type="Node3D" parent="."]
|
||||
|
||||
[node name="Ground" type="MeshInstance3D" parent="World"]
|
||||
transform = Transform3D(30, 0, 0, 0, 0.1, 0, 0, 0, 30, 0, -0.05, 0)
|
||||
material_override = SubResource("StandardMaterial3D_o5qli")
|
||||
mesh = SubResource("BoxMesh_sgp6g")
|
||||
|
||||
[node name="Player" type="CharacterBody3D" parent="." node_paths=PackedStringArray("camera_rig")]
|
||||
script = ExtResource("1_o5qli")
|
||||
camera_rig = NodePath("../CameraRig")
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Player"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.85, 0)
|
||||
shape = SubResource("CapsuleShape3D_o5qli")
|
||||
|
||||
[node name="MeshInstance3D" type="MeshInstance3D" parent="Player"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.85, 0)
|
||||
mesh = SubResource("CapsuleMesh_sgp6g")
|
||||
|
||||
[node name="FaceMarker" type="MeshInstance3D" parent="Player"]
|
||||
transform = Transform3D(0.15, 0, 0, 0, 0.15, 0, 0, 0, 0.4, 0, 1.2, 0.6266626)
|
||||
mesh = SubResource("BoxMesh_0wfyh")
|
||||
|
||||
[node name="CameraRig" type="Node3D" parent="." node_paths=PackedStringArray("target")]
|
||||
transform = Transform3D(1, 0, 0, 0, 0.57357645, 0.81915206, 0, -0.81915206, 0.57357645, 0, 10, 8)
|
||||
script = ExtResource("2_0wfyh")
|
||||
target = NodePath("../Player")
|
||||
follow_speed = 8.0
|
||||
deadzone_right = 2.0
|
||||
deadzone_forward = 2.0
|
||||
|
||||
[node name="Camera3D" type="Camera3D" parent="CameraRig"]
|
||||
current = true
|
||||
fov = 65.0
|
||||
|
||||
[node name="SimulationManager" type="Node" parent="."]
|
||||
|
||||
[node name="WorldViewManager" type="Node" parent="."]
|
||||
|
||||
[node name="EventBus" type="Node" parent="."]
|
||||
|
||||
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
|
||||
environment = SubResource("Environment_o5qli")
|
||||
Reference in New Issue
Block a user