playMaker

Author Topic: Photon Synchronize Cubes  (Read 1141 times)

Twisted Apple

  • Playmaker Newbie
  • *
  • Posts: 2
Photon Synchronize Cubes
« on: December 05, 2014, 08:25:08 AM »
I am working on an online game using photon & have all of the basics working (such as connecting, creating rooms, spawning players,...).
The game is already playable but there is one large problem I can't seem to solve.
My game has grenade launchers and gravity guns that interact with cubes (cube mesh, cube collider, rigidbody).
The problem has two parts but could probably be solved by a single solution
1. problem - if I move the cubes using the grenade laucher (explosion) they eventually are at different positions for each player (the granades have a set velocity and explode on collision enter)
2. problem - no one can see other players use gravity guns (i don't know how to synchronize position and rotation of gameobjects that aren't the player (since they don't have an owner))