mtd/Scripts/on_top_camera.gd

8 lines
209 B
GDScript3
Raw Permalink Normal View History

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