Hi all,
I am creating a top-down 2d game style. I am trying to implement a player character to start a dialogue with the NPC when he is really near to him and it presses an action key.
I have tried with the selector and the usable component. But it seems to don't work when the NPC is in another place.
Is there a way to implement a player/NPC interaction with the selector and usable components, but like in a trigger/collision form?
Thanks,
Javier.
[Solved] Problem with interaction between Player Character and NPC.
[Solved] Problem with interaction between Player Character and NPC.
Last edited by Japtor on Sat Jun 30, 2018 10:07 am, edited 1 time in total.
Re: Problem with interaction between Player Character and NPC.
Hi Javier,
Yes, use a Proximity Selector instead. The Interaction Tutorial shows how set up a Proximity Selector in a 2D platformer scene. The process is similar for 2D top-down and 3D scenes, too.
Yes, use a Proximity Selector instead. The Interaction Tutorial shows how set up a Proximity Selector in a 2D platformer scene. The process is similar for 2D top-down and 3D scenes, too.
Re: Problem with interaction between Player Character and NPC.
Hi,
Nice! Now everything works fine!
Thanks for the tutorial. It helped me a lot!
Regards,
Javier.
Nice! Now everything works fine!
Thanks for the tutorial. It helped me a lot!
Regards,
Javier.