Hi,
I want to use Translation Z axis to control menu selection. To make it simpler lets say I have value 0 then is i push controller I want to increment valoue to 1 then with new detected push OR prolangated hold increment values to 2...3...4...5
Can some one help me out?
Im working in VB
Thanks a lot!
Stepping 1+ value when Translation Z is positive (Sensitivit
Moderator: Moderators
Ok Ive dun this in this way... oh I also took in account the acceleration, but we can disable it...
So if you push the stic 100% you will get values like 80 units, if you slightly push it you will get 20-25units, if you pull it you will get - (negative) values.
So
Well that is not 100% VB but you should get the idea, and if you dont want the acceleration just use one single if.
So if you push the stic 100% you will get values like 80 units, if you slightly push it you will get 20-25units, if you pull it you will get - (negative) values.
So
Code: Select all
if(Value <= 20){
count++;
}elseif(Value<=20 AND Value <60>=60){
count = count + 3
}