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