jueves, 30 de mayo de 2024

Script GDScript para rotar un node3d en eje "x" y en eje "y"; para Godot 4.2 en 3 dimensiones;

 extends Node3D



# 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):

rotate_x(0.0002)

rotate_y(0.001)

pass

No hay comentarios:

Publicar un comentario