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

Network Physics and Online Collision

Discussion in 'Netcode for GameObjects' started by orbayfunika, Oct 10, 2022.

  1. orbayfunika

    orbayfunika

    Joined:
    Jun 10, 2022
    Posts:
    1
    I read documentation about Network Physics today but cannot understand how to work with it, I want to hit 2 cars each other or push one of them the other. Cars are player so someway I have to manage that.
     
  2. pradotech

    pradotech

    Joined:
    Oct 17, 2019
    Posts:
    35
    Physics can only occur properly in server side. So the client rigidbody will only replicate position/rotation/scale provided by the server-side rigidbody. If I'm not wrong, the actual networking solution that supports better network physics emulation is one called Fish-Net.