Search code examples
three.jsaframe

A-Frame | Slide Bar


I was wondering what is the best way to create a slide bar in a-frame since there is no such feature, at least as far as i looked at the documentation.

I would like to create something like this (taken from a unity project):

Unity Slide Bar

I can image that this could happen by import a line and a cylinder and play around with the position of the cylinder but i cant think of a way to count integers when moving right or left the cylinder..

P.S. It is my first day in A-Frame


Solution

  • It seems pretty complicated indeed, especially if it's your first day :) With a little search, I found this component on github could maybe answer your needs.