added deposit robot

This commit is contained in:
derek
2025-05-12 11:12:52 -05:00
parent 8fcaf9e3a5
commit 3179170603
15 changed files with 243 additions and 20 deletions

12
scripts/deposit_bot.gd Normal file
View File

@@ -0,0 +1,12 @@
extends CharacterBody3D
@export var state_machine : StateMachine
@export var nav_agent : NavigationAgent3D
func _process(delta: float) -> void:
move_and_slide()
func _on_navigation_agent_3d_velocity_computed(safe_velocity: Vector3) -> void:
state_machine.current_state.velocity_computed(safe_velocity)