[nipple-controls] rotation joystick only and move forward
vincentfretin opened this issue · comments
Vincent Fretin commented
On this game https://animals.bio it uses a single virtual joystick that is actually the rotation virtual joystick (see #425) and it just moves forward when you touch the screen. I added some options to nipple-controls
to disable one joystick or the other, see usage https://github.com/c-frame/aframe-extras/tree/master/src/controls#usage
and schema
aframe-extras/src/controls/nipple-controls.js
Lines 7 to 14 in d85de74
so enabling only rotation is
nipple-controls="moveJoystickPosition: false"
but an option is missing to also move forward like
moveForwardOnTouch:true
(false by default)