My first 3D game with Godot 4.4
This commit is contained in:
6
player/gun_model.gd
Normal file
6
player/gun_model.gd
Normal file
@@ -0,0 +1,6 @@
|
||||
extends Node3D
|
||||
|
||||
@onready var animation_player: AnimationPlayer = %AnimationPlayer
|
||||
|
||||
func recoil() -> void:
|
||||
animation_player.play("recoil")
|
||||
Reference in New Issue
Block a user