tizzle / aframe-orbit-controls-component

An Orbit Controls Component for A-Frame VR
https://tizzle.github.io/aframe-orbit-controls-component/
MIT License
74 stars 25 forks source link

feature request - inverted zoom option #16

Closed MannyMeadows closed 7 years ago

MannyMeadows commented 7 years ago

I'm seeking an option for inverted zoom, much like the aframe inspector.

Many users will find an inverted zoom much more intuitive.

Many thanks.

tizzle commented 7 years ago

Hey @MannyMeadows,

please have a look at the current version, inverted zoom is now implemented. It is false by default and can be added have a look at the README or the basic example.

<a-entity
  id="camera"
  orbit-controls="
    invertZoom: true;
  "
>
</a-entity>

Hope it's what you were looking for!

Cheers

Till

MannyMeadows commented 7 years ago

That is exactly what I'm looking for.

Thanks for the quick turnaround!