0
Answered

Triggers firing outside of the range of collider

Sam Leitch 4 months ago in Inventory updated by Marti (Lead Developer) 4 months ago 2

I am loving the new Youtube series by RVR. Props to him!


I have an odd issue whereas i can access my Mercant from anywhere on the map by hitting 'E', i want to only be able to access it when within the box collider at the Merchant stand.  

My Merchant is an empty, with trigger and box collider attached, all the crates and the character are children as i wanted to make a prefab. The action is to open the Weaponshop.

Is it possible I have set up my Player wrong somehow? I have tried changing the letter from E to tab and this it just opens from anywhere. ANy indication would be really appreciated. 

Unity version:
2019.3.13
Game Creator version:
latest

Apologies, On player enter key has fixed this.

I found it in an earlier posting.

Thank you anyway

Answered

I'm closing this ticket. PS: RVR videos do rock!