Posted By: Nicholas
integer for joy_raw.x - 10/04/11 17:23
I am trying to get the solid integer for the analog stick, but when I do something like below it stops at 140ish then jumps to 255 a second later when the stick is pushed all the way.
var stickv;
while(1){
stickv=integer(joy_raw.x);
wait(1);
}
I have this displayed in a panel along with the actual joy_raw.x.
the joy updates super fast and the integer shows pretty fast when below 100 (or above -100) but much past that and it freezes.
any ideas?
var stickv;
while(1){
stickv=integer(joy_raw.x);
wait(1);
}
I have this displayed in a panel along with the actual joy_raw.x.
the joy updates super fast and the integer shows pretty fast when below 100 (or above -100) but much past that and it freezes.
any ideas?