aframe-mouse-spawner-component

1.1.0 • Public • Published

aframe-mouse-spawner-component

Spawning entites using double click.

usage

To initiate this, you will need to add spawner component to the a-scene node.

Properties:

  1. enabled(bool): enable or disable
  2. distance(int): spawning distance between the object and the cursor.
  3. template(selector): use existing a-entity id to custom looks.

Glitch demo

Readme

Keywords

Package Sidebar

Install

npm i aframe-mouse-spawner-component

Weekly Downloads

1

Version

1.1.0

License

MIT

Unpacked Size

28.2 kB

Total Files

9

Last publish

Collaborators

  • extraymond