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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

favorite collider

Discussion in 'Scripting' started by rastinrastini, Aug 10, 2010.

  1. rastinrastini

    rastinrastini

    Joined:
    Jul 8, 2010
    Posts:
    158
    hi all
    can collider the body of my character?
    thankful.
     
  2. rastinrastini

    rastinrastini

    Joined:
    Jul 8, 2010
    Posts:
    158
    ???????????
     
  3. Chris-Sinclair

    Chris-Sinclair

    Joined:
    Jun 14, 2010
    Posts:
    1,326
    I don't think anyone understands the question. Can you try rewriting it (or possibly using an online translation service if English isn't your best language)? Thanks.
     
  4. Kokumo

    Kokumo

    Joined:
    Jul 23, 2010
    Posts:
    416
    Probably he/she try to ask how does he/she must to do to asign a collider to his/her character... :?
     
  5. andeeeee

    andeeeee

    Joined:
    Jul 19, 2005
    Posts:
    8,768
    If the character is using a CharacterController, then you can't change the collider. Otherwise, you can add a collider by selecting one from the Component > Physics menu.
     
  6. rastinrastini

    rastinrastini

    Joined:
    Jul 8, 2010
    Posts:
    158
    hi all
    1-
    i have a character with a sword and shield.
    i need my shield have an collider but not a box or circle or capsule. i need a shield collider.
    that means a collider like my shield. when enemy attack shield then thats equipment dont move under shield.
    now when enemy attack then that equipment move under shield.

    2-
    can build a collider with my shape like my car or my sword or etc?


    thankful.
     
  7. Moonif

    Moonif

    Joined:
    Jul 11, 2010
    Posts:
    9
    Hi rastinrastini,
    Mesh collider will do just that, click on your shield and then pick the mesh collider of the Physics list.