mirror of
https://github.com/Steffo99/pineapple-surf.git
synced 2024-11-21 15:34:17 +00:00
Move WeaponCamera on _process
This commit is contained in:
parent
85939686f7
commit
87afcff6fc
1 changed files with 1 additions and 7 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue