ok heres is what i want to do when i am within 2 meters of the block load level 2 can any 1 do that Visit my site tpantsnproductionst.tk
create a sphere collider set as a trigger, and make it the size of your block+4 meters (half the size of the cube, +2 = radius of the collider). On collision, load the next level.
What your going to want to check is if the X/Z positions are between 2 values if so your going to want to use this command to load it http://unity3d.com/support/documentation/ScriptReference/Application.LoadLevel.html
Ok well what avo game me i have no idea what its saying and satoh has collision (my player floats) so still need help
If you have no idea what the OFFICIAL API documentation is saying, then you clearly need to brush up on your C#/Javascript/Boo. Quite simply, between what Satoh and Avo gave you, you should have exactly what you need. I would personally recommend using the Application.LoadLevelAsync() function, though. Also, if you checked the box "isTrigger" for the Sphere collider, then your character should not even be floating as the physics engine would not register the collider as a collider, but instead a trigger which you call in your character's script by calling OnTriggerEnter() functions.
Try the Application.LoadLevel(); Also, you can use function OnCollisionEnter(collision : Collision) { Make sure you put the gameObject.tag with the object that you are going to be colliding with. Application.LoadLevel(); }
not sure on your coding ATM, but there was a mistake in the beginning, he said to make the collider a trigger, but yet said to use the OnCollisionEnter, when it should be OnTriggerEnter so if you have it checked as a trigger, use on trigger, also it may have to have a rigidbody attached to it in order to pick up the physics