Question by
Tariq-mehmood · Aug 25, 2017 at 01:35 PM ·
networkingphotonrpc
Multiplayer car racing wining senior
HI I am having a problem that I have two players in the room and racing game start but how will I know who finishes that finish line first. I am using photon and RCC v3.
Comment
Hi,
but how will I know who finishes that finish line first.
Is this a question in general or Photon specific? If it is Photon specific the 'winning' client can use the RaiseEvent function for example to notify other clients. RPCs would be another option to go with.
If it is a question in general you can try using a Collider set as trigger and do something if OnTriggerEnter gets called.