Have a project for people with experience using Unity 3D.
2 parts, both found in:
[[url removed, login to view]
P]art 1 in the Door Open Test folder.
Part 2 in the Door Open on Code test folder.
In each of these folders if you go into the assets folder and open up the unity file entitled scene, you'll see a simple room, with the camera facing an asset called "Door".
Part 1 - I need a script that simply slides the door open upon the player approaching, and closes the door once they've moved out of range.
Again, I want to be taught how to do this too, so perhaps a screencast or step-by-step guide to your work.
Part 2 - I need a script that prompts the user for a code upon approaching the door. If the code entered is correct (Let's call it "testcode" for the test), the door slides open and stays open. If the code entered is incorrect, the user is told that the door won't open because they haven't entered the correct code.
I want to be taught how to do this too, so perhaps a screencast or step-by-step guide to your work.