Search Unity

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,609
  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.