viernes, 9 de febrero de 2024

PRESIONANDO BOTON IZQUIERDO DEL MOUSE Y PRESIONANDO BOTON DERECHO DEL MOUSE CON GODOT4.2;

 extends CSGSphere3D


func _input(event):


#if event is InputEventMouseMotion:

if Input.is_action_just_pressed("MOUSE_LEFT"):


$AnimationPlayer.play("blanca4")

$"../AudioStreamPlayer3DDISPAROELICOPTERO".play()




--------------------------------------------------------------------------------------------------------------------




 extends CSGSphere3D


func _input(event):


#if event is InputEventMouseMotion:

if Input.is_action_just_pressed("MOUSE_RIGHT"):


$AnimationPlayer.play("blanca4")

$"../AudioStreamPlayer3DDISPAROELICOPTERO".play()






No hay comentarios:

Publicar un comentario