Joint Variables
-
Can you grab a variable from a joint like using a potentiometer?
-
If you mean read the actual rotation of a body connected to a joint, no. Not in this version.
-
//Maybe have a potentiometer or motor encoder joint in SPIV?
Is there a way to take a servo's value in order to increase the servo on a key press?
-
Yes.
in servos controller (not tested)
@myPos=0.0 if frame==0;@myPos+=0.1 if(key("up"));@myPos
-
That particular script sends the servo into a progressive death spin, however the @myPos should prove very useful.
Advertisement