adds start of camera
This commit is contained in:
parent
f06fcde55b
commit
d58afe6434
2 changed files with 19 additions and 0 deletions
6
scenes/camera_scene.tscn
Normal file
6
scenes/camera_scene.tscn
Normal file
|
@ -0,0 +1,6 @@
|
|||
[gd_scene load_steps=2 format=3 uid="uid://co3ndgp2x5amw"]
|
||||
|
||||
[ext_resource type="Script" path="res://scripts/camera_scene.gd" id="1_c1cfk"]
|
||||
|
||||
[node name="CameraScene" type="Camera3D"]
|
||||
script = ExtResource("1_c1cfk")
|
13
scripts/camera_scene.gd
Normal file
13
scripts/camera_scene.gd
Normal file
|
@ -0,0 +1,13 @@
|
|||
extends Camera3D
|
||||
|
||||
@export var subject: Node
|
||||
|
||||
|
||||
# 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 _process(delta: float) -> void:
|
||||
pass
|
Loading…
Add table
Reference in a new issue