Godot_3D_controller/main.tscn

37 lines
1.4 KiB
Plaintext

[gd_scene load_steps=6 format=3 uid="uid://capk710xx63l8"]
[ext_resource type="Material" uid="uid://cwg48c2qqksp5" path="res://Art/ground.tres" id="1_gkoa0"]
[ext_resource type="PackedScene" uid="uid://d33hla52f5lvv" path="res://Scenes/player.tscn" id="2_ethmb"]
[sub_resource type="BoxShape3D" id="BoxShape3D_2dbh0"]
size = Vector3(100, 1, 100)
[sub_resource type="BoxMesh" id="BoxMesh_svgqi"]
material = ExtResource("1_gkoa0")
size = Vector3(100, 1, 100)
[sub_resource type="CapsuleMesh" id="CapsuleMesh_k7wta"]
[node name="Main" type="Node"]
[node name="Ground" type="StaticBody3D" parent="."]
[node name="CollisionShape3D" type="CollisionShape3D" parent="Ground"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.5, 0)
shape = SubResource("BoxShape3D_2dbh0")
[node name="MeshInstance3D" type="MeshInstance3D" parent="Ground"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.5, 0)
mesh = SubResource("BoxMesh_svgqi")
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 0.372696, 0.927953, 0, -0.927953, 0.372696, 0, 33.3412, 6.74177)
shadow_enabled = true
[node name="Player" parent="." instance=ExtResource("2_ethmb")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.177785, 0)
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2.55861, 1.07345, 0)
mesh = SubResource("CapsuleMesh_k7wta")