Modify kitchen scene

This commit is contained in:
JonShard
2026-08-11 14:46:04 +02:00
parent 6a591b9e3a
commit 58adbf83e2
3 changed files with 20 additions and 3 deletions
+3 -2
View File
@@ -172,7 +172,7 @@ func _is_move_position_valid() -> bool:
var pickable = body as XRToolsPickable
if pickable and pickable is XRToolsPickable and Helper.is_node_decendant_of(pickable.get_picked_up_by(), get_parent()):
continue
return false
for area in move_ghost.get_overlapping_areas():
@@ -184,7 +184,7 @@ func _is_move_position_valid() -> bool:
return true
@rpc("any_peer", "call_remote", "reliable")
@rpc("any_peer", "call_local", "reliable")
func server_handle_drop(new_transform: Transform3D, client_thinks_valid: bool):
SweetLogger.debug("enter")
if not multiplayer.is_server():
@@ -210,6 +210,7 @@ func server_handle_drop(new_transform: Transform3D, client_thinks_valid: bool):
SweetLogger.debug("transform applied")
@rpc("any_peer", "call_local", "reliable") # Server updates clients
func server_artificial_pickup():
SweetLogger.debug("enter")