Search Unity

  1. We are migrating the Unity Forums to Unity Discussions by the end of July. Read our announcement for more information and let us know if you have any questions.
    Dismiss Notice
  2. Dismiss Notice

Third Party [Photon] Fast collisions with Photon Rigidbodys (Golf game)

Discussion in 'Multiplayer' started by shough, Aug 6, 2018.

  1. shough


    Sep 13, 2017
    Crosspost photon forum:

    I am working on a networked golf game and trying to add collision between the balls. Each player has a ball prefab with Photon components like so:

    As it is right now, the balls often don't register a collision when they are moving too fast, although they register fine for slower collisions. Is there any other setting that can help me register fast collisions?

    An alternative is to have the master client own all the balls and simulate all the movement. However, that's not very smooth from the player's perspective because every time they hit their ball, they might have to wait 100-200 ms to see it actually move.

    Any ideas welcome!

    To clarify, there are no problems in a local simulation and the rigidbodys are set to "Continuous Dynamic".