Author Topic: Make npc's stand still when you run into them.  (Read 3523 times)

MadMan

  • Posts: 96
  • Faggot Crusher.
    • View Profile
Make npc's stand still when you run into them.
« on: June 13, 2015, 08:19:35 PM »
So, what i am trying to do, is have an npc stand in the way of an entrance, but then he will physically move out of the way (By walking) using the MoveAI. It works, but the problem is, i can simply run into the npc, and push him out of the way. Is there a way which i can make sure that i cannot push the NPC out of the way, and make him stand still when i run into him?












Psst, i hope this comunity is alive still :P


Thanks

Hipshot

  • Developer
  • Posts: 455
  • Level Designer
    • View Profile
Re: Make npc's stand still when you run into them.
« Reply #1 on: June 16, 2015, 10:21:02 AM »
I would place a static collision in the way before. Like, hide a piece of wall or something there, then destroy the wall when needed =D