Search Unity

Pass through colliders

Discussion in 'Netcode for GameObjects' started by proxene, Oct 22, 2022.

  1. proxene

    proxene

    Joined:
    Jul 3, 2016
    Posts:
    4
    Hello the Unity Community,

    I've a question and I don't find a solution to my problem. Currently, I'm trying to create a test scene with the new netcode and I don't know why, but players can pass through all colliders.



    If you have any idea to help me to resolve my issue, this one will be welcome. Thank you :)


    Regards,
     
  2. CodeSmile

    CodeSmile

    Joined:
    Apr 10, 2014
    Posts:
    5,998
    Do you have colliders on the players?
    Do you have NetworkRigidbody on them?
     
  3. proxene

    proxene

    Joined:
    Jul 3, 2016
    Posts:
    4
    Hello CodeSmile,

    Thank you for your quick reply.
    Yes of course, here is a screen of the inspector (Player Prefab).