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