-
Notifications
You must be signed in to change notification settings - Fork 452
Description
I have the following situation. I am using the Update loop to do some stuff, and I'm moving a network object with a clientnetworktransform. The states are supposed to synchronize by moving the transform itself, because the movement hits colliders and triggers behaviour.
My problem is that the ClientNetworkTransform is not always synchronized across clients. Sometimes a trigger doesn't fire on a client because the object is not on the place it's supposed to be. It can be slightly off.
My question is: Is there a way to force the transform synchronization? Say, I hit a collider with the transform. As the owner of the networkobject, I want to send an rpc to all clients to move the tranform to that position. The owner keeps moving the transform, but I want to guarantee that a specific position happens across clients, so they all trigger the collider.
What is the proper way of dealing with this?