mirror of
https://github.com/Relintai/regression-test-project.git
synced 2024-12-27 14:17:38 +01:00
11 lines
190 B
GDScript3
11 lines
190 B
GDScript3
|
extends Camera3D
|
||
|
|
||
|
var speed = 1
|
||
|
var curr = 0
|
||
|
|
||
|
|
||
|
func _process(delta):
|
||
|
curr += delta * speed
|
||
|
|
||
|
look_at_from_position(Vector3(cos(curr) * 3, 0, sin(curr) * 3), Vector3.ZERO, Vector3(0, 1, 0))
|