2024-05-31 11:59:57 -06:00
|
|
|
[gd_scene load_steps=6 format=3 uid="uid://do25xvpy80iio"]
|
2024-05-25 10:10:24 -06:00
|
|
|
|
|
|
|
[ext_resource type="PackedScene" uid="uid://bwg2jkbq7gada" path="res://player/player.glb" id="1_0u2un"]
|
|
|
|
[ext_resource type="Script" path="res://player/player.gd" id="1_gh340"]
|
|
|
|
|
|
|
|
[sub_resource type="SceneReplicationConfig" id="SceneReplicationConfig_u4bmc"]
|
|
|
|
properties/0/path = NodePath(".:position")
|
|
|
|
properties/0/spawn = true
|
|
|
|
properties/0/replication_mode = 1
|
|
|
|
|
|
|
|
[sub_resource type="SphereShape3D" id="SphereShape3D_t1htn"]
|
|
|
|
radius = 0.986757
|
|
|
|
|
2024-05-31 11:59:57 -06:00
|
|
|
[sub_resource type="SphereShape3D" id="SphereShape3D_ylark"]
|
|
|
|
radius = 1.0605
|
|
|
|
|
2024-05-25 10:10:24 -06:00
|
|
|
[node name="player" instance=ExtResource("1_0u2un")]
|
2024-05-25 17:15:59 -06:00
|
|
|
floor_max_angle = 1.32121
|
2024-05-25 10:10:24 -06:00
|
|
|
script = ExtResource("1_gh340")
|
2024-05-25 17:15:59 -06:00
|
|
|
JUMP_VELOCITY = 8.0
|
2024-05-25 10:10:24 -06:00
|
|
|
|
|
|
|
[node name="MultiplayerSynchronizer" type="MultiplayerSynchronizer" parent="." index="0"]
|
|
|
|
replication_config = SubResource("SceneReplicationConfig_u4bmc")
|
|
|
|
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="." index="2"]
|
|
|
|
shape = SubResource("SphereShape3D_t1htn")
|
2024-05-31 11:59:57 -06:00
|
|
|
|
|
|
|
[node name="TagDetection" type="Area3D" parent="." index="3"]
|
2024-05-31 21:59:49 -06:00
|
|
|
collision_layer = 8388609
|
|
|
|
collision_mask = 8388609
|
2024-05-31 11:59:57 -06:00
|
|
|
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="TagDetection" index="0"]
|
|
|
|
shape = SubResource("SphereShape3D_ylark")
|
|
|
|
|
|
|
|
[connection signal="area_entered" from="TagDetection" to="." method="_on_tag_detection_area_entered"]
|
|
|
|
[connection signal="area_exited" from="TagDetection" to="." method="_on_tag_detection_area_exited"]
|
|
|
|
[connection signal="body_entered" from="TagDetection" to="." method="_on_tag_detection_body_entered"]
|
|
|
|
[connection signal="body_exited" from="TagDetection" to="." method="_on_tag_detection_body_exited"]
|