Exemplo n.º 1
0
		void Client_ReceiveWheelsPositionToClient( RemoteEntityWorld sender, ReceiveDataReader reader )
		{
			networkingClient_wheelsRotationAngle = new Radian[ 4 ];
			networkingClient_wheelsSteer = new Radian[ 4 ];
			networkingClient_wheelsSuspensionJounce = new float[ 4 ];
			for( int n = 0; n < 4; n++ )
			{
				networkingClient_wheelsRotationAngle[ n ] = reader.ReadRadian();
				networkingClient_wheelsSteer[ n ] = reader.ReadRadian();
				networkingClient_wheelsSuspensionJounce[ n ] = reader.ReadSingle();
			}
			if( !reader.Complete() )
				return;
		}