From 87afcff6fc3b96f3f6d36eabbf970e448a5fc83d Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Mon, 9 Jan 2023 01:40:29 +0100 Subject: [PATCH] Move WeaponCamera on _process --- player/Player.tscn | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/player/Player.tscn b/player/Player.tscn index 09241c8..2548fa2 100644 --- a/player/Player.tscn +++ b/player/Player.tscn @@ -70,13 +70,7 @@ script/source = "extends Camera3D @export var MainCamera: Camera3D -# Called when the node enters the scene tree for the first time. -func _ready() -> void: - pass # Replace with function body. - - -# Called every frame. 'delta' is the elapsed time since the previous frame. -func _physics_process(delta): +func _process(delta): if not MainCamera: return