I am developing a game in VR and want to set up a system where you pick up a key, bring it to a door and it unlocks. when unlocked it can destroy the door completely. Is there anyway you could show me via screenshots and explanations?
So, when I first started game developing, it was with Unity, I just created a door with a physics joint and locked all the constraints it so it wouldn`t rotate or move at all, then when i unlocked it (can be done by having a collision box set to overlap near the door and when the key overlaps it, it then unlocks), I just freed the constraints again, so that it could be moved.
Hope that helps.