hi guys i have encounter this very big problem. i found this script in forum under how to stop a script for a while? - Questions & Answers - Unity Discussions
function OnTriggerEnter (collision : Collider)
{
if (collision.gameObject.tag == “Player”)
{
GameObject.Find(“Player”).GetComponent(“ThirdPersonController”).enabled=false;
print(“HELLO”); }
}
i creating a cube object and when the player hit the object the player suppose to stop moving for a few seconds,the collider is working but the third person controller script is not disable. i try access to the thirdpersoncontroller but it still not working.should i put enabled to the thirdpersoncontroller but how ? the third person controller i using is from the lerpz tutorial.thank you so much if some one could help me.