WIP: Some updates
This commit is contained in:
@ -13,10 +13,11 @@ func _ready() -> void:
|
||||
|
||||
|
||||
pass # Replace with function body.
|
||||
func _process(delta: float) -> void:
|
||||
func _physics_process(delta: float) -> void:
|
||||
set_multiplayer_authority(multiplayer.get_unique_id())
|
||||
if owner_placeholder:
|
||||
global_transform = owner_placeholder.global_transform
|
||||
#global_transform.origin = owner_placeholder.global_transform.origin
|
||||
global_transform.origin = global_transform.origin.lerp(owner_placeholder.global_position, delta * 10)
|
||||
global_rotation = owner_placeholder.global_rotation
|
||||
# Set the owner placeholder, so the characters can send the requests to a node
|
||||
# it depends on
|
||||
|
Reference in New Issue
Block a user