Skip to reading
GUI: Knobs, Dials and Gauges

Turn the dial on any device

Edition 0.86.4.5

New 0.86.4.5 field guide. Rotary Value bindings use Raw JSON in this edition. Clock hands are independent; running-clock or geared behavior is authored separately. Examples can be built in an existing project; the optional workbench is part of the PCA3D source package.

Download PDFView illustrations
On this page

INTERACTION / ALL FOUR DEVICES

One master switch#

Enable Allow player rotation, then tick the devices you want this instrument to accept.

Rotary control input settings in the GUI Inspector.

Source table from Turn the dial on any device, page 5
DeviceKnob, gauge or clockTelephone
MousePress near the intended hand. Drag around the pivot. The wheel nudges the selected hand.Start inside a hole, wind clockwise to the stop and release.
TouchTouch near a hand and draw an arc with that finger. A second finger cannot take over its drag.Hold inside a hole and follow it around the ring. A center tap cannot start a call.
KeyboardMove focus to the instrument. Left / Right decrease or increase. Up / Down cycle through hands.Left / Right choose a hole. Press and release the action mapped to Accept.
GamepadD-pad Up / Down selects a hand. Left / Right or the horizontal left stick turns it.Choose a hole with Left / Right or the stick. Press and release Accept.

Make small changes easy#

Use Tab or the GUI’s focus navigation to reach an instrument. In a focused control, the ring identifies the active face. A stick must cross roughly 45% sideways before a nudge. Holding it repeats after a short delay. Let it return to center to stop.

Start angle is measured from noon. Positive sweep moves clockwise, negative sweep reverses the direction of rising values. A Step of 0 gives continuous dragging. Keys and the stick still move by 1% of the range per nudge.

Check the control you intend to ship

Try one tiny step and one full sweep. For touch, leave room between nearby controls and start near a hand tip. On a read-only meter, use a separate interactive control for focus or instructions.

Page 5 of 11Permalink
Go to page