Skip to content
A-Frame component for Simbol
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
build
examples
.eslintignore
.eslintrc.json
.gitignore
.travis.yml
LICENSE
README.md
index.js
package-lock.json
package.json
rollup.config.js

README.md

a-simbol

This is an A-Frame component for Simbol to easily integrate Simbol in declarative 3D sites

Getting Started

Add it to your dependencies:

npm install -s a-simbol

And then add the tag to your HTML:

<a-simbol hand="right" virtualpersona="{'signIn': true}"></a-simbol>

Check it out on glitch: https://glitch.com/edit/#!/a-simbol-example

Adding interactions

It also provides the component simbol-selectable, add it to any entity and it will emit the following events with Simbol's interaction system:

  • Simbol.selected
  • Simbol.unselected
  • Simbol.hover
  • Simbol.unhover
<a-box simbol-selectable></a-box>
document.querySelector('a-box').addEventListener('Simbol.selected', () => {
	console.log('Box clicked');
});

Contributing

Check out the Contribution guide! If you have any questions, join our community

License

This program is free software and is distributed under an MIT License.

You can’t perform that action at this time.