Swarm/MeshBreather.gd

13 lines
301 B
GDScript3
Raw Normal View History

extends MeshInstance3D
# Called when the node enters the scene tree for the first time.
func _ready():
pass # Replace with function body.
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta):
scale.y = 1.0+sin(Time.get_ticks_msec() * 0.002)*0.1
pass