monster spawner and moving to the camera direction
This commit is contained in:
parent
8c29b8bffd
commit
b20f3b5124
821 changed files with 1611 additions and 1409 deletions
9
assets/models/round_bat/round_bat_skin.gd
Normal file
9
assets/models/round_bat/round_bat_skin.gd
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
extends Node3D
|
||||
|
||||
@onready var _animation_tree: AnimationTree = %AnimationTree
|
||||
@onready var _hurt_shot_path: String = "parameters/HurtShot/request"
|
||||
|
||||
## Play a OneShot hurt animation.
|
||||
## This animation is played in paralel with other states.
|
||||
func hurt():
|
||||
_animation_tree.set(_hurt_shot_path, true)
|
||||
Loading…
Add table
Add a link
Reference in a new issue