various fixes
This commit is contained in:
@@ -30,4 +30,4 @@ func _unhandled_input(event: InputEvent) -> void:
|
||||
|
||||
func _process(delta: float) -> void:
|
||||
if target:
|
||||
global_position = global_position.lerp(target.global_position, follow_speed * delta)
|
||||
global_position = global_position.lerp(target.global_position, 1.0 - exp(-follow_speed * delta))
|
||||
|
||||
Reference in New Issue
Block a user