Transform or Rigidbody?

I am creating a 3D game in which players move quickly in straight lines on a 2D grid (similar to tron lightbike style games). The players will not be involved in any physics interactions (except basic collision detection).

Minimizing position synchronization issues is a major concern for this fast paced game.
With PUN in mind, Is it ideal for me to move players using Rigidbody.velocity, or using transform.translate?

Comments

  • Normally, you can achieve better results when you sync the velocity (together with the position, which is also always synced). It gives the receiving client another value to include in the calculations.

    For a game like this, I would actually recommend waiting a moment for Fusion to go in public beta. It is a tick based engine and will be much better at synchronizing games where objects move quickly.
Sign In or Register to comment.