add human fbx and idle/walking animation
This commit is contained in:
@@ -2,11 +2,13 @@ extends State
|
||||
|
||||
const PATROL_STATE_ID: StringName = &"patrol"
|
||||
|
||||
@onready var agent: AIBase = owner
|
||||
@export var wait_time: float = 3.0
|
||||
|
||||
var runtime_timer: Timer
|
||||
|
||||
func enter() -> void:
|
||||
agent.run_idle_animation()
|
||||
runtime_timer = Timer.new()
|
||||
runtime_timer.name = "IdleTimer"
|
||||
add_child(runtime_timer)
|
||||
|
||||
Reference in New Issue
Block a user