Feche1320 Posted February 28, 2012 Posted February 28, 2012 Can someone tell me what does this mean/do? if not state and analogNames[v] then state = getAnalogControlState( v ) >= 0.5 -- What does >= 0.5 do?? I always used it like 'if 5 >= 5 then' .. end Thanks!
Castillo Posted February 28, 2012 Posted February 28, 2012 Should return true if 0.5 or higher of amount of the control is pressed, false otherwise. I may be wrong, but I think it should return that.
arezu Posted February 28, 2012 Posted February 28, 2012 Should return true if 0.5 or higher of amount of the control is pressed, false otherwise.I may be wrong, but I think it should return that. Yes it works like that
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now