item can be stored, added poses to shelf
This commit is contained in:
@@ -84,7 +84,6 @@ func set_target_position():
|
||||
|
||||
func _on_navigation_agent_3d_target_reached() -> void:
|
||||
if target_object != null:
|
||||
print(22)
|
||||
is_target_reached = true
|
||||
nav_agent.target_position = self.global_position
|
||||
Global.interact.emit(self, target_object)
|
||||
@@ -98,6 +97,7 @@ func _on_timer_timeout() -> void:
|
||||
|
||||
|
||||
func hold_item(item):
|
||||
is_holding_item = true
|
||||
var newItem = item.duplicate()
|
||||
holdingItem = newItem
|
||||
holdingItem.position = Vector3(0,0.976, -0.065)
|
||||
|
||||
Reference in New Issue
Block a user