Not to be confused with the Joint.
The slider is the oldest and default control style for controllable joints. It was introduced in Sketchyphysics2. Back then, the slider, aside from a few joystick commands and oscillator functions, was the only way to control joints. Although it is mostly obsolete now, a few users rely on them for controlling servos and pistons. The reason is that it is easier to control with precision.
In the UI box, it appears as slider('insert name here') When the simulation starts, a blue window appears with all the sliders listed there.
Advantages vs DisadvantagesEdit
- The Slider, unlike a typical keyboard command, is not simply an on/off switch. It can position objects with precision. In order to give keyboard commands the same ability, the user must rely on an advanced script. This makes the slider easy for things like servos and certain pistons.
- Sliders are the default control style, and thus require little knowledge of coding to customize. This makes them popular with newer users.
- Unless specified otherwise, all sliders start out with the setting of 0.5 when the simulation starts. This can cause joints to wildly change position or start up on their own when the simulation starts. Unless the user pauses the simulation the moment it starts and manually sets the sliders to 0, mechanical failure will occur in some models.
- Mostly a problem in SP2, sliders would build up quickly in complex models and make controlling the model very tedious.
- Since only one slider can be controlled at a time, the movements of a slider controlled model are more cumbersome.