Forum rules - please read before posting.

Player vicinity problem

Hi, I am using the opsive controller so I don't know if it is because of that but player vicinity doesn't work. I get this warning saying Both a player and a hotspot detector on that player are required for hotspots to be detected by Player Vicinity. My problem is I have got player vicinity on in the settings manager. The hotspot detector is set up correctly because I went by that tutorial and the doc to see if I have it correct. The hotspot dector is untagged and on the layer ignore raycast. I did have it on default layer but it did say I should have it on the ignore raycast layer.

Comments

  • I think it may be due to opsive controllers not detecting triggers at all considering I tried bolt and the controller was still not detecting triggers.

  • I have worked out that adventure creator triggers do not work with opsive controller. Bolt visual scripting doesn't either but playmaker works with opsive controllers. However, it is going to be really a pain if the hotspot detector and triggers don't work with opsive controllers.

  • From what I remember, you need to add an extra collider to your root game object. Opsive's collider is a child object, so you need to add an extra one on the same object that has the Player component.

  • Thank you so much it works.

  • The triggers worked but the player vicinity still doesn't work.

  • I am still trying to work this out. Here is more info with images
    https://imgur.com/ex58Uhv https://imgur.com/TaYGqoF https://imgur.com/HGso1BR https://imgur.com/6HaelsL
    That last image is a warning but I have set everything up just like the tutorial. The only other option I could do is use an enter and exit trigger with a unity world space UI and yes it does work with triggers but trying to work out how to get the UI to always face the camera.

  • I did get this working. I didn't put the hotspot detector on the actual player script but it's actually not what I thought it was. I actually thought the Icon shows within a distance then you can do the normal mouse over to actually interact with it. This video at 4:38 is what I wanted but only when you get within a certain distance

    That first-person narrative game engine has that feature that I wanted.
    https://assetstore.unity.com/packages/templates/systems/first-person-narrative-adventures-complete-puzzle-engine-131623

  • If it can't be done then it would be good to add that feature to adventure creator.

  • You can reduce the Hotspot ray length field in the Settings Manager to something very small (e.g. 2), to have Hotspots only be detectable when very close to the camera. This will be true even if Hotspot detection method is set to Mouse Over.

    It's also possible to define an Interactive boundary object on a Hotspot itself, which is a region that the player must be within for that Hotspot to be interactive.

  • It still shows regardless of hotspot ray length.

  • As you're using a custom motion controller, that may be interfering.

    Temporarily use AC on its own - you can do this quickly by dropping in the 3D Demo's Player character, Tin Pot, into the scene to override your regular player. He can be found in /Assets/AdventureCreator/Demo/Resources.

    What is the result when controlling him instead? Please share screenshots showing the issue as well as your full Settings Manager.

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.