Search Unity

Player Controller problem

Discussion in 'Scripting' started by Demonith88, Nov 25, 2014.

  1. Demonith88

    Demonith88

    Joined:
    Jun 30, 2014
    Posts:
    216
    Hi all i made a character and i wont to make it playable so when i make character controller my character falls down in to the ground any solutions
     
  2. Lu3DLC

    Lu3DLC

    Joined:
    Nov 25, 2014
    Posts:
    44
    Have you tried to give it a rigidbody? Also make sure that your floor/ground has a collider, like a box collider.
     
    Last edited: Nov 25, 2014
  3. Demonith88

    Demonith88

    Joined:
    Jun 30, 2014
    Posts:
    216
    Yeah i try that still droping underground but i dont know do i have because when i set up colider to my character its ok but its like when i setup colider on character i need to put a little space belove feet its like fluting in the air -_- is there a way to make terrain with colider but not flat terrain
     
  4. Lu3DLC

    Lu3DLC

    Joined:
    Nov 25, 2014
    Posts:
    44
  5. nostalgicbear

    nostalgicbear

    Joined:
    Mar 21, 2013
    Posts:
    99
    What kind of game object are you using as the ground? And are you using a standard 3rd person or first person controller?
     
  6. smokingbunny

    smokingbunny

    Joined:
    Jul 24, 2014
    Posts:
    98
    easiest that i have found [still learning myself], is using a box collider 2d AND a rigidbody 2d for the player, then use a box collider 2d for the floor/wall

    but just take off 2d if you are not working with 2d ;)
     
  7. Demonith88

    Demonith88

    Joined:
    Jun 30, 2014
    Posts:
    216
    Tn everyone for share the info i work on it