Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 610 Bytes

a-player.md

File metadata and controls

21 lines (15 loc) · 610 Bytes

a-player

Primitive entity for the player space..

<a-player locomotion grabbing></a-player>

a-player will ensure that it's populated with at least these entities:

<a-player>
  <a-camera look-controls="pointerLockEnabled:true; touchEnabled:false;" wasd-controls="enabled:false;"></a-camera>
  <a-hand side="left"></a-hand>
  <a-hand side="right"></a-hand>
</a-player>

If grabbing component is added, a-hand entities will be populated with a-glove entities..

Any of these entities can be overruled with custom properties and additional entities can be added..