- Home /
Duplicate Question
How do I make a mission objective?
I am in the middle of making a game. I have created a scene with a small moon terrain. The first person controller works fine. I have placed a sphere in the terrain, and I have ticked the 'Is Trigger' check box for the sphere. I want something to happen when the player walks through the sphere (such as move to the next scene). How do I do this? If you need any extra info about my game (in order to answer my question), then just ask. Thanks for the help :)
Answer by mattyman174 · Apr 11, 2014 at 04:08 AM
Check out the Scripting Tutorials on the Unity Learning Website.
They will teach you very powerful techniques that scripting can help you with.
http://unity3d.com/learn/tutorials/modules/beginner/scripting
Specifically you want a script that checks when the player enters the Sphere Trigger and then calls a function to load the next level.
http://docs.unity3d.com/Documentation/ScriptReference/Application.LoadLevel.html
Follow this Question
Related Questions
Multiple Cars not working 1 Answer
Can you set up a camera to preview in at all times, even when moving objects around in 3D space? 0 Answers
Games and websites 1 Answer
play music on key press 1 Answer
How make spawn for horror game? 1 Answer