diff --git a/README.md b/README.md index 522a601..02b66cc 100644 --- a/README.md +++ b/README.md @@ -3,9 +3,7 @@ A Click & Drag component for [A-Frame](https://aframe.io). Entities with the `click-drag` component can be click and dragged around the 3D -scene. Even works whle the camera is moving! - -_Note: entities are not positioned correctly when the camera is rotated._ +scene. Even works whle the camera is moving or rotating! ### Events diff --git a/examples/basic/index.html b/examples/basic/index.html index d769c36..eb395bd 100644 --- a/examples/basic/index.html +++ b/examples/basic/index.html @@ -14,7 +14,7 @@ - + diff --git a/examples/events/index.html b/examples/events/index.html index d39ba58..7595637 100644 --- a/examples/events/index.html +++ b/examples/events/index.html @@ -23,7 +23,7 @@ - + diff --git a/examples/main.js b/examples/main.js index cedfc9c..fbb42bf 100644 --- a/examples/main.js +++ b/examples/main.js @@ -1,7 +1,9 @@ import aframe from 'aframe'; import extras from 'aframe-extras'; +import keyboardControls from 'aframe-keyboard-controls'; import clickDragComponent from '../src/index'; extras.physics.registerAll(aframe); +aframe.registerComponent('keyboard-controls', keyboardControls); clickDragComponent(aframe); diff --git a/examples/physics-2/index.html b/examples/physics-2/index.html index 3cc0654..8d7607e 100644 --- a/examples/physics-2/index.html +++ b/examples/physics-2/index.html @@ -42,7 +42,7 @@ - +