martes, 3 de septiembre de 2024

GDScript animar un Sprite3d; se arrastra el Sprite3D al script y se escribe a continuacion .play();

 extends AnimatedSprite3D



# Called when the node enters the scene tree for the first time.

func _ready() -> void:

$".".play()

pass # Replace with function body.



# Called every frame. 'delta' is the elapsed time since the previous frame.

func _process(delta: float) -> void:

pass