Feche1320 Posted February 28, 2012 Share 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! Link to comment
Castillo Posted February 28, 2012 Share 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. Link to comment
arezu Posted February 28, 2012 Share 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 Link to comment
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