Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

Feature Request Physics.SyncTransforms for a specific PhysicsScene only

Discussion in 'Physics' started by DebugLogError, Feb 22, 2024.

  1. DebugLogError

    DebugLogError

    Joined:
    Jul 24, 2013
    Posts:
    60
    I'm working on an authoritative multiplayer game with separate physics scenes for client and server (when running as listen server).

    Almost all of the physics api's I'm using have an equivalent api that lets you call them on a specific PhysicsScene (e.g. Physics.Simulate > physicsScene.Simulate, Physics.Raycast > physicsScene.Raycast).

    However, there seems to be no equivalent for Physics.SyncTransforms? Meaning that even when I only need to call it for the client scene I pay the cost of the server scene as well (and vice versa).
     
    Last edited: Apr 5, 2024
  2. DebugLogError

    DebugLogError

    Joined:
    Jul 24, 2013
    Posts:
    60