WIP: Some updates

This commit is contained in:
2025-02-09 17:53:52 +01:00
parent b3d2461961
commit e922911f92
5 changed files with 12 additions and 3 deletions

View File

@ -16,8 +16,8 @@ func _ready() -> void:
func _process(delta: float) -> void:
set_multiplayer_authority(multiplayer.get_unique_id())
if owner_placeholder:
global_transform = owner_placeholder.shared_node.global_transform
global_rotation = owner_placeholder.shared_node.global_rotation
global_transform = owner_placeholder.global_transform
global_rotation = owner_placeholder.global_rotation
# Set the owner placeholder, so the characters can send the requests to a node
# it depends on
func set_owner_placeholder(owner: Node3D):