Why is my character walking through NPCs?

Bucket Mouse

Active member
I did everything the video said thus far, but when I tested the latest build (I'm at the point where you make an NPC), the playable character simply walks through the NPC instead of walking up against it. Yes, it does have a bounding box.

What do I have set wrong? I did everything the video said.
 

dale_coop

Moderator
Staff member
Same here (and Joe might have the same collission in the video).
Require to add collision data check when NPC in the HandleObjectCollission script.
 

RadJunk

Administrator
Staff member
The character can walk through NPCs. This is just a simple NPC type, there are a million ways to do NPCs. In this, you need to be colliding with an NPC in order to activate the npc dialog script. If you couldn't walk through him, you couldn't be colliding with him, thus the script could never be activated. This is a vanilla solution to NPCs. There are literally a million of other ways. :)
 
Top Bottom