Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

88
Views
Spawn person with camera and camera follow him in networked a-frame

My person is moving perfectly without a networked a-frame. But when I'm using a networked a-frame camera is not following the person, It's coming a little bit far from a camera. I want that my camera follows the person.

This is the asset I'm using for the person.

<a-assets>
    <a-asset-item id="person" src="./person/scene.gltf"></a-asset-item>
</a-assets>

This is the template i'm using to add a person in the networked scene for multi-user.

 <template id="person_template">
        <a-entity
          id="model"
          gltf-model="#person"
          animation-mixer="clip: Rig|man_idle;"
          scale="0.02 0.02 0.02"
          movement-controls="constrainToNavMesh: true"
        >
        </a-entity>
  </template>

This is the networked scene I'm using.

<a-entity
        id="rig"
        position="-5 0.2 1"
        rotation="0 180 0"
        movement-controls="speed:0.15; constrainToNavMesh: true;"
      >
    <a-entity camera="active:true" position="0 2 0" look-controls>
        <a-entity
            id="player"
            networked="template:#person_template;attachTemplateToLocal:false;"
            movement-controls="speed:0.15; constrainToNavMesh: true;"
            look-controls
            wasd-controls="acceleration:15"
          >
        </a-entity>
    </a-entity>
</a-entity>
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!