8 lines
169 B
GDScript3
8 lines
169 B
GDScript3
|
class_name StQTitle extends Node3D
|
||
|
|
||
|
var lifetime: float
|
||
|
|
||
|
func _process(_delta: float):
|
||
|
lifetime += _delta
|
||
|
rotation = Vector3.UP*sin(lifetime)/8.0 + Vector3.RIGHT/16.0
|