I then made an NPC script and added it to my NPC as a component. This is only a base script, but I can build off of it for each NPC.
I needed to do the same thing for the PickupItem as well.
Now when I click the NPC or Pickup, it interacts with it, and moves towards it.
I just need to make the player stop just before the NPC, otherwise it passes through the box. That, however, is what I will work on next class.
No comments:
Post a Comment