extends MeshInstance3D
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
pass # Replace with function body.
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta: float) -> void:
pass # Replace with function body.
func _input(event):
if event is InputEventMouseButton:
if event.pressed and event.button_index == 1: # Botón izquierdo del ratón
rotate_y(0.9)
No hay comentarios:
Publicar un comentario