45 lines
1.7 KiB
Plaintext
45 lines
1.7 KiB
Plaintext
[gd_scene load_steps=5 format=3]
|
|
|
|
[ext_resource type="Script" path="res://Player/net_player.gd" id="1_np001"]
|
|
[ext_resource type="PackedScene" uid="uid://bq86r4yll8po" path="res://addons/godot-xr-tools/hands/scenes/lowpoly/left_fullglove_low.tscn" id="2_np002"]
|
|
[ext_resource type="PackedScene" uid="uid://xqimcf20s2jp" path="res://addons/godot-xr-tools/hands/scenes/lowpoly/right_fullglove_low.tscn" id="3_np003"]
|
|
|
|
[sub_resource type="CapsuleMesh" id="CapsuleMesh_np004"]
|
|
radius = 0.09
|
|
height = 0.22
|
|
|
|
[sub_resource type="SceneReplicationConfig" id="SceneReplicationConfig_np005"]
|
|
properties/0/path = NodePath("Head:position")
|
|
properties/0/spawn = false
|
|
properties/0/replication_mode = 1
|
|
properties/1/path = NodePath("Head:quaternion")
|
|
properties/1/spawn = false
|
|
properties/1/replication_mode = 1
|
|
properties/2/path = NodePath("LeftHand:position")
|
|
properties/2/spawn = false
|
|
properties/2/replication_mode = 1
|
|
properties/3/path = NodePath("LeftHand:quaternion")
|
|
properties/3/spawn = false
|
|
properties/3/replication_mode = 1
|
|
properties/4/path = NodePath("RightHand:position")
|
|
properties/4/spawn = false
|
|
properties/4/replication_mode = 1
|
|
properties/5/path = NodePath("RightHand:quaternion")
|
|
properties/5/spawn = false
|
|
properties/5/replication_mode = 1
|
|
|
|
[node name="NetPlayer" type="Node3D"]
|
|
script = ExtResource("1_np001")
|
|
|
|
[node name="Head" type="MeshInstance3D" parent="."]
|
|
mesh = SubResource("CapsuleMesh_np004")
|
|
|
|
[node name="LeftHand" parent="." instance=ExtResource("2_np002")]
|
|
|
|
[node name="RightHand" parent="." instance=ExtResource("3_np003")]
|
|
|
|
[node name="Sync" type="MultiplayerSynchronizer" parent="."]
|
|
root_path = NodePath("..")
|
|
replication_config = SubResource("SceneReplicationConfig_np005")
|
|
replication_interval = 0.033
|