aovando26 / ElectricVRJam

A VR action game created in just 9 days
https://octavecpp.itch.io/old-man-zeus
0 stars 0 forks source link

Door that could be opened up with certain points #11

Closed aovando26 closed 5 days ago

aovando26 commented 1 week ago

I'm trying to create a compare tag that allows the user to use their left hand to trigger an action. However, it's currently applying to the entire XR Origin instead

One solution might be to attach a sphere (childObject) to the left hand for the trigger event. Although the direct interactable has its own collider, I haven't had success with that approach.

Additionally, in order for the door to open I set a condition that the player's score must be at least 10

Image

syafiqoarashy commented 5 days ago

I've improved the UI so that it also counts the number of souls you need to collect to open the door.

Image