Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question about Server Physics and Colliders

Discussion in 'Multiplayer' started by alextoti33, Apr 29, 2019.

  1. alextoti33

    alextoti33

    Joined:
    Oct 8, 2017
    Posts:
    66
    Hello, I'm using Dark Rift 2 for networking and standalone server.
    What would you suggest to use for server side physics and colliders?

    I had an idea to export all colliders from client and then load them in server, but not sure how to use them after this.
    Thanks in advance!
     
  2. Joe-Censored

    Joe-Censored

    Joined:
    Mar 26, 2013
    Posts:
    11,847
    If you want server side physics, what is the reason you're not just using Unity on the server side?
     
  3. alextoti33

    alextoti33

    Joined:
    Oct 8, 2017
    Posts:
    66
    Id prefer not to use it
     
  4. Joe-Censored

    Joe-Censored

    Joined:
    Mar 26, 2013
    Posts:
    11,847
    Well, you'd probably then need to implement a physics library yourself on the server side, then recreate those colliders exported from the client. I asked because implementing a physics library yourself is going to be a good amount of work, and something a Unity build on the server just gives you for free.
     
  5. alextoti33

    alextoti33

    Joined:
    Oct 8, 2017
    Posts:
    66
    i see, thanks