Here is the answer to your question from this thread: http://forums.sketchucation.com/viewtopic.php?f=61&t=44399
There is a much better answer than using a motor to place a joint where you want it - you need to use a servo and a little ruby script
Step1: place your servo within the group you want to move and attach it to a base group
Step2: select the servo and open the sketchyphysics UI
Step3: within the UI apply the following settings
min:0
max:1
accel:4000
damp:1000
controller:@servo1 (you can actually call it anything starting with @
Step4: Select the base of your model and open the sketchyphysics UI
Step5: place the following rubyscript in there:
if frame<1.00
@servo1=0.00
end
# this allows servo to incrementally increase based on joystick input (righty) you can change it to any of the joystick axes
@servo1+=(0.5-righty)
# this sets range of movement for the servo as it is not set in the servo's UI
if @servo1>45;@servo1=45;end
if @servo1<-45;@servo1=-45;end
It took me a long time to work this out (reverse engineering another model) so I am more than happy to help anyone out with it if these instructions are too hard to follow.
I believe this is a very powerful function in sketchyphysics and I have only seen it in one model in the 3DWH