stick-the-quick/startup/StQTitle.gd

8 lines
169 B
GDScript

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