{"id":13521991,"url":"https://github.com/msub2/aframe-exokit-avatars","last_synced_at":"2025-08-01T21:32:52.010Z","repository":{"id":41151734,"uuid":"482453121","full_name":"msub2/aframe-exokit-avatars","owner":"msub2","description":"A wrapper for the Exokit Avatars system in an A-Frame component.","archived":false,"fork":false,"pushed_at":"2023-03-08T03:01:48.000Z","size":3060,"stargazers_count":19,"open_issues_count":2,"forks_count":6,"subscribers_count":4,"default_branch":"main","last_synced_at":"2024-11-13T12:42:12.085Z","etag":null,"topics":["avatar","avatars","exokit","vr","webxr"],"latest_commit_sha":null,"homepage":"https://msub2.github.io/aframe-exokit-avatars/examples/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/msub2.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2022-04-17T07:09:00.000Z","updated_at":"2024-08-28T22:56:17.000Z","dependencies_parsed_at":"2024-01-13T22:23:30.916Z","dependency_job_id":"9cc6b3fe-1189-4a09-b3e5-e27da05edd9e","html_url":"https://github.com/msub2/aframe-exokit-avatars","commit_stats":{"total_commits":13,"total_committers":3,"mean_commits":4.333333333333333,"dds":0.5384615384615384,"last_synced_commit":"2b2dc3e5877d3c263ab1c7c879350bc09f9c4344"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msub2%2Faframe-exokit-avatars","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msub2%2Faframe-exokit-avatars/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msub2%2Faframe-exokit-avatars/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msub2%2Faframe-exokit-avatars/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/msub2","download_url":"https://codeload.github.com/msub2/aframe-exokit-avatars/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228408701,"owners_count":17915235,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["avatar","avatars","exokit","vr","webxr"],"created_at":"2024-08-01T06:00:40.677Z","updated_at":"2024-12-06T04:21:25.327Z","avatar_url":"https://github.com/msub2.png","language":"JavaScript","funding_links":[],"categories":["Social VR"],"sub_categories":["Open Source Frameworks"],"readme":"# A-Frame Exokit Avatars\n\nThis A-Frame component provides an easy way to integrate a full-body IK avatar in WebXR through [my fork](https://github.com/msub2/avatars) of the [Exokit Avatars](https://github.com/exokitxr/avatars) system.\n\n## Usage\n\nThe following is the most basic scene setup that will load in an avatar:\n\n```html\n\u003c!DOCTYPE html\u003e\n\u003chtml\u003e\n  \u003chead\u003e\n    \u003cscript src=\"https://aframe.io/releases/1.3.0/aframe.min.js\"\u003e\u003c/script\u003e\n    \u003cscript src=\"https://cdn.jsdelivr.net/npm/aframe-exokit-avatars@1.0.2\"\u003e\u003c/script\u003e\n    \u003ctitle\u003eA-Frame Exokit Avatars\u003c/title\u003e\n  \u003c/head\u003e\n  \u003cbody\u003e\n    \u003ca-scene\u003e\n      \u003ca-assets\u003e\n        \u003ca-asset-item id=\"model\" src=\"./dan.glb\"\u003e\u003c/a-asset-item\u003e\n      \u003c/a-assets\u003e\n      \u003ca-plane id=\"ground\" rotation=\"-90 0 0\" color=\"green\" height=\"10\" width=\"10\"\u003e\u003c/a-plane\u003e\n      \u003ca-light type=\"directional\" intensity=\"0.5\"\u003e\u003c/a-light\u003e\n      \u003ca-light type=\"ambient\" intensity=\"0.5\"\u003e\u003c/a-light\u003e\n      \u003ca-sky color=\"blue\"\u003e\u003c/a-sky\u003e\n      \u003ca-entity avatar=\"model: #model\"\u003e\u003c/a-entity\u003e\n      \u003ca-entity id=\"player\"\u003e\n        \u003ca-camera id=\"head\" near=\"0.1\" wasd-controls look-controls\u003e\u003c/a-camera\u003e\n        \u003ca-entity id=\"leftHand\" tracked-controls=\"hand: left\"\u003e\u003c/a-entity\u003e\n        \u003ca-entity id=\"rightHand\" tracked-controls=\"hand: right\"\u003e\u003c/a-entity\u003e\n      \u003c/a-entity\u003e\n    \u003c/a-scene\u003e\n  \u003c/body\u003e\n\u003c/html\u003e\n```\n\n## Considerations\n\n- If implementing some form of touchpad or thumbstick movement, ensure your avatar is not parented under the player/camera rig object, as this will prevent the leg IK from functioning properly.\n- By default, the `tracked-controls` component in A-Frame reports controller pose based on target ray space by default instead of grip space (refer to the [WebXR Device API](https://immersive-web.github.io/webxr/#dom-xrinputsource-targetrayspace) for more details). It's more than likely there might be some noticeable offset in the hand positions from where your controllers are. There is currently an [open PR](https://github.com/aframevr/aframe/pull/5040) to let grip space be used for pose reporting, but in the meantime you may want to apply some manual offset to your controller pose to compensate.\n\n## Schema\n\n| Property    | Type     | Description                                                      | Default Value |\n| ----------- | -------- | ---------------------------------------------------------------- | ------------- |\n| model       | model    | A selector or path to an avatar model                            |               |\n| thirdPerson | boolean  | Whether this is an avatar for a different player than the user   | false         |\n| player      | selector | An element representing the player/camera rig                    | #player       |\n| head        | selector | An element representing the main camera of the scene             | #head         |\n| leftHand    | selector | An element representing the tracked left hand                    | #leftHand     |\n| rightHand   | selector | An element representing the tracked right hand                   | #rightHand    |\n| fingers     | bool     | Whether or not to animate finger poses (point, grip)             | true          |\n| hair        | bool     | Whether or not to animate hair                                   | true          |\n| decapitate  | bool     | Whether or not to remove the head of the model                   | false         |\n| visemes     | bool     | Whether or not to animate visemes on the model (mouth, blinking) | true          |\n| muted       | bool     | Whether or not to passthrough mic audio into the page.           | true          |\n| debug       | bool     | Whether or not to render debug meshes.                           | false         |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmsub2%2Faframe-exokit-avatars","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmsub2%2Faframe-exokit-avatars","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmsub2%2Faframe-exokit-avatars/lists"}