i want to make a house and i want to enter it how do i do it pls tell i try to find a answer but i had no luck
Wrong section.
The code depends on how is your game built, I recommend learning first the basics of Unity, stuff like these should come thelselves in your head after reading that. ![]()
http://unity3d.com/support/documentation/Manual/Unity%20Basics.html
Regards,
-Alex
Those look like spawn points or some sort. Basically, you’ve got a trigger area there, and when your character collides with it, it transports the player to another location (inside the house).
IMO, that really breaks the gameplay, but whatever floats your boat.
so true!! read about scripting and colliding on the website and soon enough, all of the code will form together! but ill give you some hints:
you will need a collider
you will need to use Application.loadlevel();
and this is the wrong section ![]()