grounders-slowjam-2024/player/player.tscn

39 lines
1.6 KiB
Plaintext

[gd_scene load_steps=6 format=3 uid="uid://do25xvpy80iio"]
[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
[sub_resource type="SphereShape3D" id="SphereShape3D_ylark"]
radius = 1.0605
[node name="player" instance=ExtResource("1_0u2un")]
floor_max_angle = 1.32121
script = ExtResource("1_gh340")
JUMP_VELOCITY = 8.0
[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")
[node name="TagDetection" type="Area3D" parent="." index="3"]
collision_layer = 8388609
collision_mask = 8388609
[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"]