2021-09-17 15:04:05 +02:00
|
|
|
extends Spatial
|
2021-10-01 15:50:16 +02:00
|
|
|
tool
|
2021-09-17 15:04:05 +02:00
|
|
|
|
|
|
|
onready var logo = $Logo
|
|
|
|
onready var camera = $Camera
|
|
|
|
|
|
|
|
func _ready():
|
|
|
|
pass
|
|
|
|
|
|
|
|
func _process(delta):
|
|
|
|
logo.transform = camera.global_transform.translated(Vector3.FORWARD * 200)
|
|
|
|
logo.translate(Vector3(0, 50, 0))
|
|
|
|
logo.look_at(camera.translation, Vector3.UP)
|
|
|
|
logo.rotation = camera.rotation + Vector3(deg2rad(-90), 0, 0)
|