August 2018
Intermediate to advanced
528 pages
10h 58m
English
The next constraint is SliderConstraint. With this constraint, you can limit the movement of an object to any one of its axes. The blue sliders in the 05-sliders-hinges.html example can be controlled from the sliders submenu. The sliders can only move on their defined axis. The top one will move up and down, and the bottom one can move from left to right:

With the sliderPos button, the sliders will move to the left-hand side (their lower limit), and with the sliderNeg button, they will move to the right-hand side (their upper limit). Creating these constraints from code is very easy: ...
Read now
Unlock full access