using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class empujafuerteportagestenombre : MonoBehaviour {
        // public float thrust;
        public Rigidbody rb;
        void Start()
        {
            rb = GetComponent<Rigidbody>();
        }
        void OnTriggerEnter(Collider other)
        {
            if (other.gameObject.CompareTag("empujafuerte"))
            {
                rb.AddForce(0.0f, 0f, 177.0f, ForceMode.Impulse);
            }
        }
    }
---------------------------------------------------------------------
--------------------------------------------------------------------
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class altocartagcambialascoordenadas : MonoBehaviour {
        // Use this for initialization
        void Start()
        {
            //transform.rotation = Quaternion.Euler (0,45, 0);
        }
    void Update()
    {
    }
    //void OnCollisionEnter (Collision collision){
    //    if (collision.gameObject.tag == "PUYO modelo"){
    void OnTriggerEnter(Collider other)
    {
        if (other.gameObject.CompareTag("cordena"))
        {
            transform.position = new Vector3 (-38.5f,8.6f, -14.7f);
        }
    }
}
-----------------------------------------------------------------------
------------------------------------------------------------------------
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class altocartaggiraluzfoco : MonoBehaviour {
        // Use this for initialization
        void Start()
        {
            //transform.rotation = Quaternion.Euler (0,45, 0);
        }
//    float x;/// imbentado
        void Update()
        {
        }
        //void OnCollisionEnter (Collision collision){
        //    if (collision.gameObject.tag == "PUYO modelo"){
        void OnTriggerEnter(Collider other)
        {
            //if (other.gameObject.CompareTag("luzgira"))
        if (other.gameObject.CompareTag("MATA"))
            {
                transform.position = new Vector3 (29.24f,38.13f, -60.19f);//////este funcionaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
            //transform.rotation = new Vector3 (-38.5f,8.6f, -14.7f);
            //transform.rotation = new Vector3  (0.4f, 5.1f, 1.1f);
            //transform.rotation = Quaternion.Euler (0, 5, 0);
            //x += Time.deltaTime * 0.2f;
             
        //    transform.rotation = Quaternion.Euler (x, 0, 0);
            }
        }
    }
--------------------------------------------------------------------
----------------------------------------------------------------------
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class AUMENTAPUNTOSP : MonoBehaviour {
        // Create public variables for player speed, and for the Text UI game objects
        public float speed;
        public Text countText;
        public Text winText;
        // Create private references to the rigidbody component on the player, and the count of pick up objects picked up so far
        private Rigidbody rb;
        private int count;/// <summary>
        void Start ()
        {
            // Assign the Rigidbody component to our private rb variable
            rb = GetComponent<Rigidbody>();
            // Set the count to zero 
            count = 0;
            // Run the SetCountText function to update the UI (see below)
            SetCountText ();
            // Set the text property of our Win Text UI to an empty string, making the 'You Win' (game over message) blank
            winText.text = "";
        }
        // store a reference to that collider in a variable named 'other'..
        void OnTriggerEnter(Collider other) 
        {
            //if (other.gameObject.CompareTag ("ogri2"))
            if (other.gameObject.CompareTag ("MATA"))
            {
                // Make the other game object (the pick up) inactive, to make it disappear
//                other.gameObject.SetActive (false);////ESTO DE AQUI SI ESTA ACTIVADO BORRA EL GRAFICO GIRATORIO MUY OMPORTANTISIMO
                // Add one to the score variable 'count'
                count = count + 1;
                // Run the 'SetCountText()' function (see below)
                SetCountText ();
            }
        }
        // Create a standalone function that can update the 'countText' UI and check if the required amount to win has been achieved
        void SetCountText()
        {
            // Update the text field of our 'countText' variable
            //countText.text = "Count: " + count.ToString ();
            countText.text = "PUNTOS: " + count.ToString ();
            // Check if our 'count' is equal to or exceeded 12
            //if (count == 11) 
                //if (count >= 11) /////////original
                if (count >= 40) ////////7original
            {
            Application.LoadLevel (1);
            }
        }
    }
CONTINUARA......ESTA EN CONSTRUCCION.........................................................................
..........................
 
