aframe-joystick icon indicating copy to clipboard operation
aframe-joystick copied to clipboard

Change the speed/acceleration

Open vparx opened this issue 3 years ago • 2 comments

Pretty nice component. This is not really an issue, but I didn't knew where to ask a question.

Is there a way to set or control the speed/velocity of the joystick movement?

Best,

vparx avatar Apr 06 '22 10:04 vparx

I imagine one can adapt the force https://github.com/mrturck/aframe-joystick/blob/master/joystick.js#L50 or probably more cleanly abstract away the hardcoded 15 value, making this a component parameter.

Utopiah avatar Sep 19 '22 08:09 Utopiah

Please feel free to make a PR! I don't maintain this library anymore

mrturck avatar Dec 07 '22 18:12 mrturck