Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Is simulateMouseWithTouches with Input.GetAxis bugged in Unity 5 for Windows Phone 8?

Discussion in 'Windows' started by 2FlyDreams, May 3, 2015.

  1. 2FlyDreams

    2FlyDreams

    Joined:
    Oct 18, 2013
    Posts:
    42
    Hi there! In our multiplatform project we use Input Manager (mouse movement, mouse keys, keyboard etc.) and Input.Touches. We have some problems with the WP8.

    1) The first problem was when there were 2 touches on the screen, and Input.GetButton for the left mouse press returned true. We have solved it by "simulateMouseWithTouches = false". Why is it true by the default?

    2) We still have a problem with Input.GetAxis for Mouse Movement, because it is not zero when you slide with finger anywhere on the touch screen, even when "simulateMouseWithTouches = false". Is it a bug or we missed something?

    Thank you.