mirror of
https://github.com/PfandBoss/SemesterGameJam2022.git
synced 2025-11-12 04:16:12 +01:00
11 lines
197 B
GDScript
11 lines
197 B
GDScript
extends Node3D
|
|
var t = 0
|
|
|
|
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
|
func _process(delta):
|
|
t += delta * 45
|
|
position.z = t
|
|
|
|
if(position.z > 250):
|
|
queue_free()
|