Hello everyone!
I would like to figure it out, how to interact NPCs with custom keys.
I use Conditional Branch, then I set up a script " Input.isTriggered('q') " (I set up the q key into the Input.keyMapper before)
And it works too. The problem is that if I want to make it work, I have to run towards the NPC (with Trigger: Event Touch and with Trigger: Player Touch too). If I just stand besides them, it doesn't interact with them...
How can I solve this?
I would like to figure it out, how to interact NPCs with custom keys.
I use Conditional Branch, then I set up a script " Input.isTriggered('q') " (I set up the q key into the Input.keyMapper before)
And it works too. The problem is that if I want to make it work, I have to run towards the NPC (with Trigger: Event Touch and with Trigger: Player Touch too). If I just stand besides them, it doesn't interact with them...
How can I solve this?