A game prototype built with Godot 4 exploring in-world inventory management mechanics.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

7 lines
210 B

2 years ago
extends Camera3D
func _process(_delta: float) -> void:
var main_viewport := get_tree().root.get_viewport()
var main_camera := main_viewport.get_camera_3d()
global_transform = main_camera.global_transform