Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Project ZOso Help

Discussion in 'General Discussion' started by inflame, Jan 17, 2015.

  1. inflame

    inflame

    Joined:
    Jul 31, 2014
    Posts:
    24
    How to change the character's spawn and where exactly?
     
  2. N1warhead

    N1warhead

    Joined:
    Mar 12, 2014
    Posts:
    3,884
    this isn't the correct place to post this, just so you know.

    but something like this should work

    Code (CSharp):
    1. public Transform SpawnSpot;
    2. public Transform Player;
    3.  
    4. void Start(){
    5.  
    6. Player.transform.position = SpawnSpot.transform.position;
    7.  
    8. }
    That won't account for rotation, but it will spawn you, start doing google searches and you'll find an answer btw.
     
  3. inflame

    inflame

    Joined:
    Jul 31, 2014
    Posts:
    24
    The script is name?
     
  4. carking1996

    carking1996

    Joined:
    Jun 15, 2010
    Posts:
    2,605
  5. inflame

    inflame

    Joined:
    Jul 31, 2014
    Posts:
    24
    Project zoso&?
     
  6. N1warhead

    N1warhead

    Joined:
    Mar 12, 2014
    Posts:
    3,884
    Yeah you definitely need to go to http://unity3d.com/learn

    Script name doesn't matter.
     
    Deon-Cadme likes this.