'Network a-frame with nav-mesh or collision is not working. Either of one is working and not both

I'm using camera attached to head template also added this camera inside a rig and that rig is constrained to nav-mesh but only one is working either movement control of rig or wasd control of camera and not both.

<a-entity id="player-rig" movement-controls="constrainToNavMesh" >
    <a-entity
      id="player"
      networked="template:#avatar-template;attachTemplateToLocal:false;"
      camera="active:true;"
      wasd-controls="acceleration:12;"
      position="0 3.5 0"
      look-controls>
     </a-entity>
 </a-entity>

If there is any good way to use these both and if it works .Let me know



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source