update interaction
This commit is contained in:
@@ -55,5 +55,6 @@ func set_target_position():
|
||||
|
||||
func _on_navigation_agent_3d_target_reached() -> void:
|
||||
if target_object != null:
|
||||
Global.interact.emit(self, target_object.ActionNode)
|
||||
nav_agent.target_position = self.global_position
|
||||
Global.interact.emit(self, target_object)
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user