Hi,
First I wanted to say that your Asset is awesome! I'm using it now almost for a year. Most of the time I was just playing a bit around, getting comfortable with the system and other assets - trying sth etc. Stopped for a while, began again... stopped etc. Now, I'm in a bigger project and I'm having a simple Question.
Is there a way to let objects highlight with the highlight script? Or can Interactable objects always pulse?
My problem is that I'm using Invectors 3rd Person Controller and AC. The Hotspot Detection script / mode works fine for me (with Player Vicnity), instead of that the character is also able to pick up everything whats inside the collider of the hotspotsdetector gameobject (attached to the Controller, like in the tutorial). It detects and let me interact with it objects, even if I cant see the objects or if there on another level in the building.
I also have to mention that my scripting skills are not good enough, so I'll hope there is a solution for it without writing a custom script. It's really awesome what options and things you can choose and create from without writing any lines of code!
Greetings and thanks in advance!
Comments
Im trying to be bit clearer though.
My Game:
You're playing in 3rd Person perspective. You can walk around, pick up items with hotkeys and you can fight. You interact with objects via hotkeys ('E' for Use f.e.) and youre not able to click with the mouse on objects.
My goal:
I want to highlight interactable objects automatically, so that the Player can see immediately which Objects are interactable and which aren't. Since my game plays in a post apocalyptic environment, its crucial for me to sort useable and not usable objects out due to the massive amount of garbage lying around. Without Icons, just the Object flashing / pulsing.
A good example of this would be the game "The Last of Us". As soon as objects are interactable - they are flashing and you can pick them if youre really close to them. They flash even from far distances so that the player gets a hint of useable and not useable objects (and this is exactly what I want - far distance flashing).
My problem:
It's already working with the hotspot detector mode, but the problem: the Player can also interact with everything inside the Hotspotdetector component which is attached to the player, because its a trigger (I guess) and because I'm using invectors 3rd Person Controller (I think it recognizes the trigger as an 'useable area'). The Spherecollider of the HotspotGameobject is set to really huge.
So, when I'm far away of objects that are flashing (or even not, because its inside a house with different levels), he can immediately interact with those objects even if he stands miles away from them instead of standing in front of them. Easy said: the player could interact with those objects all immediatley.
My Scenesettings:
HotspotSettings:
(Sidenote: UseInteraction is just used for self destroying of the Hotspot, so that it dissapears. I just used the Hotspot for the 'Flashing Object' properties.)
And yes, I know that there will be a point coming up where I have to use / write scripts for certain things. For now, everything is working without scripts and I'm getting really creative to find some workarounds to avoid that. Although, I almost got everything working - instead of the flashing object thing.
The Links again:
SceneSettings:
https://imgur.com/a/a3hoXys
https://imgur.com/a/FV4Un8I
HotspotSettings:
https://imgur.com/a/In0KsyA
https://imgur.com/a/g40Ymog
This script is even for a beginner as I am, easy to read & understand. Thanks for your help.
btw.: Sorry for the late reply, I was on vacation ;-)