Ok, after a whole day of attempts, i give up. I set up game for player vicinity, hotspot detector was automatically created on player prefab (but NOT child of sprite, moved myself), i followed instructions but nothing happens when player comes near hotspot.
i'm using 2d for my game. What am i missing?
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
As there are a lot of settings involved when it comes to this topic, it's best to see the specific values you're using.
Can you share your AC/Unity verisons, as well as screenshots of your Settings Manager, a typical Hotspot, your Player, and that of the Hotspot Detector (full GameObject Inspectors)? I'll see if I can spot the issue.
Hi, here are some images. Let me know if more are needed. My goal is, when player comes near, starts a conversation
https://imgur.com/a/8bziB6D
Hotspots are a way of allowing the player to run interactions upon input. A Hotspot Detector is a way of gathering up nearby Hotspots - but it still requires that the player uses input to interact with them.
If you're looking to have the NPC being talking as you approach them, attach a Trigger to the NPC instead.
Triggers are a way of running Actions when the Player enters a given boundary. See the Manual's "Triggers" chapter for details, as well as this tutorial (in 3D, but the concept applies for 2D as well).
If I'm misunderstanding, and you want the player to use input as normal to interact with the NPC, I'll need the full images mentioned above - including the full Inspectors of your Player, Hotspot, and Settings Manager.
Thanks for your support! Sorry for delay in repplying, i was away