Jump to content

Input.activepointer.positon wrong with Chrome Mobile.


Morokkoikitai
 Share

Recommended Posts

Hello.

In my mobile game, input.activepointer returns wrong coordinate.

in example, i put my pointer on left top side,

I expect (activepointer.x, actiovepointer.y) return (0,0).

But it returns wrong position(please refer to my screenshot ).

Oddly enough ,this occurs only Chrome Mobile(android).

In IOS and other browser, it returns correct positon (0,0) . 

 

How to Fix it?

I think, it can fix If  i can add offset to activepointer.position, but i dont know how to do.

Thanks.

 

 

sample.png

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...