50 lines
1.8 KiB
Plaintext
50 lines
1.8 KiB
Plaintext
[gd_scene load_steps=6 format=3 uid="uid://bvleufyobery5"]
|
|
|
|
[ext_resource type="Script" path="res://scripts/player.gd" id="1_82m0t"]
|
|
|
|
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_wlolw"]
|
|
|
|
[sub_resource type="CapsuleMesh" id="CapsuleMesh_5kiq6"]
|
|
|
|
[sub_resource type="BoxMesh" id="BoxMesh_v4nai"]
|
|
size = Vector3(0.4, 0.4, 0.8)
|
|
|
|
[sub_resource type="SceneReplicationConfig" id="SceneReplicationConfig_j6f6x"]
|
|
properties/0/path = NodePath(".:position")
|
|
properties/0/spawn = true
|
|
properties/0/replication_mode = 1
|
|
properties/1/path = NodePath(".:rotation")
|
|
properties/1/spawn = true
|
|
properties/1/replication_mode = 1
|
|
properties/2/path = NodePath("Camera3D:rotation")
|
|
properties/2/spawn = true
|
|
properties/2/replication_mode = 1
|
|
properties/3/path = NodePath("Camera3D:position")
|
|
properties/3/spawn = true
|
|
properties/3/replication_mode = 1
|
|
|
|
[node name="Player" type="CharacterBody3D"]
|
|
collision_layer = 2
|
|
script = ExtResource("1_82m0t")
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0)
|
|
shape = SubResource("CapsuleShape3D_wlolw")
|
|
|
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0)
|
|
mesh = SubResource("CapsuleMesh_5kiq6")
|
|
|
|
[node name="Camera3D" type="Camera3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.5, 0)
|
|
|
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="Camera3D"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -0.2)
|
|
mesh = SubResource("BoxMesh_v4nai")
|
|
|
|
[node name="NameLabel" type="Label3D" parent="."]
|
|
transform = Transform3D(-1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 0, 2.15, 0)
|
|
|
|
[node name="MultiplayerSynchronizer" type="MultiplayerSynchronizer" parent="."]
|
|
replication_config = SubResource("SceneReplicationConfig_j6f6x")
|