Hello,
I am working on a 2.5D side-scrolling game project, so the player does not really raycast towards another NPC to interact with them. So far I have been using the Proximity Selector Script (I do not recall if I took it from another demo or from prefabs) on the player and the "Usable" script on the NPC, which causes "Press F to Interact" to show when I get inside the NPC trigger radius.
I noticed in the mount your steed demo quest scene that you provided that you are not using either of those, and instead using TPC's intearct ability.
Is there any way to use the TPC interact ability instead of the Proximity Selector without having to look at the character, for example in a 2.5D scene?
Proximity Selector vs TPC Interact Ability
Re: Proximity Selector vs TPC Interact Ability
Hi,
Yes. On the NPC's Interactable component, change Interactor Look Interact Max Angle to 360.
Yes. On the NPC's Interactable component, change Interactor Look Interact Max Angle to 360.
Re: Proximity Selector vs TPC Interact Ability
Do I need to make any changes on the player's interact ability?
Re: Proximity Selector vs TPC Interact Ability
No, just the Max Angle on the NPC. And a little correction: It only needs to be 180, not 360. That makes it 180 degrees each direction, or 360 degrees total.