Search Unity

Player collision problem :wink:

Discussion in 'Connected Games' started by daqulazhang, Sep 3, 2009.

  1. daqulazhang

    daqulazhang

    Joined:
    Jun 13, 2009
    Posts:
    33
    Hi,
    I got one question here, I guess maybe some others also met such problem before.
    In online multiple players game, of couse your player should use character controller, but how about other remote players?
    I want to also use character controller, cause then I can just transfer "move direction" between server/client, if use dedicated tranform and quat data, seems too much data.
    But now question is, this solution induce that two player will collide with each other. That's not good.
    So here is my question, is there any way I can let one character controller or other counterpart(to use move) just collide with the world but not with the other player?
     
  2. jmunozar

    jmunozar

    Joined:
    Jun 23, 2008
    Posts:
    1,068
    I think, (not sure) that if you position the character controllers in different layers, maybe they are not going to collide.

    not sure tho, havent tested it ever, but its a good insight for you to try :)
     
  3. jashan

    jashan

    Joined:
    Mar 9, 2007
    Posts:
    3,088