2024-02-22 06:22:22 +11:00
|
|
|
class_name OnTopCamera extends Camera3D
|
2023-11-08 14:28:55 +11:00
|
|
|
|
2024-02-22 06:22:22 +11:00
|
|
|
@export var clone_camera: Node3D
|
2023-11-08 14:28:55 +11:00
|
|
|
|
|
|
|
func _process(_delta: float) -> void:
|
|
|
|
global_position = clone_camera.global_position
|
|
|
|
global_rotation = clone_camera.global_rotation
|