diff --git a/assets/core/player-controller/scenes/player.tscn b/assets/core/player-controller/scenes/player.tscn index 2ed1c1f..6ca2fea 100644 --- a/assets/core/player-controller/scenes/player.tscn +++ b/assets/core/player-controller/scenes/player.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=12 format=3 uid="uid://c6w0ivy4hetrl"] +[gd_scene load_steps=11 format=3 uid="uid://c6w0ivy4hetrl"] [ext_resource type="Script" path="res://assets/core/player-controller/scripts/player.gd" id="1_bv7t4"] [ext_resource type="Texture2D" uid="uid://fwub8fvl2u4i" path="res://addons/ingameconsole/ps1hagrid.png" id="2_omgn1"] @@ -13,10 +13,6 @@ radius = 0.35 [sub_resource type="CapsuleShape3D" id="CapsuleShape3D_qlkab"] radius = 0.35 -[sub_resource type="CameraAttributesPractical" id="CameraAttributesPractical_fqbrh"] -auto_exposure_enabled = true -auto_exposure_max_sensitivity = 700.0 - [sub_resource type="ShaderMaterial" id="ShaderMaterial_wmxrr"] shader = ExtResource("3_rakxt") @@ -47,7 +43,6 @@ shape = SubResource("CapsuleShape3D_qlkab") transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.65, 0) [node name="Camera3D" type="Camera3D" parent="Neck"] -attributes = SubResource("CameraAttributesPractical_fqbrh") [node name="RayCast3D" type="RayCast3D" parent="Neck/Camera3D" node_paths=PackedStringArray("player")] target_position = Vector3(0, 0, -2.5) diff --git a/assets/core/ships/ship_script.gd b/assets/core/ships/ship_script.gd index 525ba9e..c72e297 100644 --- a/assets/core/ships/ship_script.gd +++ b/assets/core/ships/ship_script.gd @@ -72,7 +72,7 @@ func _physics_process(_delta): angular_velocity.y = clamp(angular_velocity.y, -max_turn_speed, max_turn_speed) #if NetworkManager.is_host: - + if old_global_position_cache != global_position: NetworkManager.sync_property(uuid, "global_position", global_position) old_global_position_cache = global_position