Trigger Problems

Hey Guys im Having problems with this part what did i do wrong?

the player and the atv transform position is not working.


    void Update ()
    {
        if (Input.GetKey(KeyCode.F))
        {
            Player.SetActive(true);
            ATVplayer.SetActive(false);
            ATV.SetActive(true);
            Trigger.SetActive(true);
            TriggerATV.SetActive(true);
            Player.transform.position = ATVplayer.position.rotation;
            ATV.transform.position = ATVplayer.position.rotation;

        }
    }
}

If you’re wanting the rotations to be the same you would need ATVplayer.transform.rotation instead of the position. If you want the position you would need ATVplayer.transform.position

Hope that helps :slight_smile: