public static Vector3 ConvertedReceptionFromServer(Vector3 serverPosition, TankCollidersUnityComponent tankCollidersUnity, Vector3 transformPosition) { Vector3 vector = serverPosition - tankCollidersUnity.GetBoundsCenterGlobal(); return(transformPosition + vector); }
public static Vector3 ConvertedSentToServer(TankCollidersUnityComponent tankCollidersUnity) => tankCollidersUnity.GetBoundsCenterGlobal();