ok, read the forum and tried the scripts but nothing worked as I tried to adapt them for my purposes. Since free unity can’t use movies as a texture I am doing a work around for a cutscene. I have the player entering a trigger that switches out the camera from game camera to a still camera. That trigger zone also starts the animations for the cut scene. All is well. But I want to disable the player so the user can’t be running around while cutscene is playing. I tried adapting the scripts I found but no luck. Tried parenting the player to an object also in the trigger zone as well as disabling his movement script. The script that I want to disable is called PlayerMovement. here is what I have - or one version of what I have tried, Trying to freeze the player for 3 seconds. period`using UnityEngine;
using System.Collections;
public class parentPlayer : MonoBehaviour {
public playerMovement playerMovementRef;
void OnTriggerEnter (Collider other)
{
if(other.gameObject == player)
StartCoroutine("DisableScript");
{
IEnumerator DisableScript ()
{
playerMovementRef.enabled = false;
yield return new WaitForSeconds (3f);
playerMovementRef.enables=true;
}
}`