Recent content by kafukafu

  1. K

    Possible missing call to Mathf.Abs

    Thanks. Your code is very clean, elegant and easy to read. Keep up the good work!
  2. K

    Possible missing call to Mathf.Abs

    And if you look at the other places in the same code, you used Abs there but not here, so I figured this could be some inconsistency or overlook
  3. K

    Possible missing call to Mathf.Abs

    Hi, what I meant is GetAixRaw could return -1, and -1 means the joystick is still up. (for example, some axis on xbox360 controller work this way) while here, the comparison -1 < 1 will return true, the code will think the joystick is down. But it's still up. So I figured you need to use...
  4. K

    Possible missing call to Mathf.Abs

    Please corret me if I'm wrong, but it appears that there is missing call to Mathf.Abs in UnityInput.cs, which might cause problems when m_Input.GetAxisRaw(name) returns -1 ? see patch below:
Top