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

Instantiating Mobile Player, not working correctly.

Discussion in 'Editor & General Support' started by N1warhead, Nov 7, 2014.

  1. N1warhead

    N1warhead

    Joined:
    Mar 12, 2014
    Posts:
    3,884
    Hey guys, I didn't see a forum that suited a help section, so didn't know where to place it.

    (Might actually be a good idea to introduce one)


    But okay....

    I am instantiating my player, he instantiates, but the joysticks I see for one frame and they disappear from screen.

    I am using the normal FPS Setup from the Standard mobile Assets.
    I just made a little script to Instantiate the player on a spawn position.

    But as said, I know it's the Joysticks, I know if they move it ruins them.
    So how do I prevent them from not moving???


    I've tried detaching the Joysticks out of player prefab,
    I've tried a gameObject.Find.
    I've tried instantiating the Joysticks too at the original position they were from the start if the player was just dragged and dropped into map..

    But I need to Instantiate not drag and drop and move player when he dies.

    Please someone can you help me?
     
  2. Eric5h5

    Eric5h5

    Volunteer Moderator Moderator

    Joined:
    Jul 19, 2006
    Posts:
    32,398
    The Support forum; it even has a life preserver icon next to it. (Which indicates "help me, I'm drowning." Presumably not literally. But if so, then you have bigger problems. Namely, is the device you're posting from waterproof? If not, then it will probably stop working soon, and then how are you going to use the internet? Eh?)

    --Eric
     
  3. N1warhead

    N1warhead

    Joined:
    Mar 12, 2014
    Posts:
    3,884
    Thanks Eric.

    Glad I know now.