Basic Trigger Help

Hi everyone. Just a quick question; I have a player object in my game, and I have a solid block. I have marked the block's "Is Trigger" check box to true. What I want to happen is that when the player touches the block, the scene changes to a scene called "HeliFly". I know the change scenes bit;

Application.LoadLevel("HeliFly");

But I don't know how to work the trigger part. I'm not quite sure about how to use the trigger functions in a script. Could someone just tell me really basically how to input the trigger system.

Thanks, Dan205

Try looking at: `OnTriggerEnter()`, `OnTriggerStay()` and `OnTriggerExit()`. These are the functions you want to look at.

Here is the documentation:

http://unity3d.com/support/documentation/ScriptReference/MonoBehaviour.OnTriggerEnter.html

http://unity3d.com/support/documentation/ScriptReference/MonoBehaviour.OnTriggerExit.html

http://unity3d.com/support/documentation/ScriptReference/MonoBehaviour.OnTriggerStay.html