multi touch
11 March 2016 14:16
13 March 2016 10:58
Hi,
Currently, we don't have special methods for precise multi touch processing, so you need to use builtin browser touch events. There is a changedTouches feld in the touch event. It can be used in combination with the pick_object method in the same way as if it was one touch. But go easy on the pick_object, because it is a pretty costly call.
Currently, we don't have special methods for precise multi touch processing, so you need to use builtin browser touch events. There is a changedTouches feld in the touch event. It can be used in combination with the pick_object method in the same way as if it was one touch. But go easy on the pick_object, because it is a pretty costly call.
18 March 2016 11:49
21 March 2016 12:16
21 March 2016 12:31
21 March 2016 13:07
Hello!
So if i understand well. When i need to map a large area i could just check the X and Y of the mouse click and launch a function that would be more efficient than calling pick_object.
In the case for example where i have two navigation objects. If I use viewport alignement they would always be at the same place. so if i determine a max and min X and Y i could simplify my app by checking if i click in a zone on the screen rather than calling pick_object?
Of course it would need a bit of math to recalculate the desired zone according to the viewport size for every device or every time the viewport size changes.
So if i understand well. When i need to map a large area i could just check the X and Y of the mouse click and launch a function that would be more efficient than calling pick_object.
In the case for example where i have two navigation objects. If I use viewport alignement they would always be at the same place. so if i determine a max and min X and Y i could simplify my app by checking if i click in a zone on the screen rather than calling pick_object?
Of course it would need a bit of math to recalculate the desired zone according to the viewport size for every device or every time the viewport size changes.
21 March 2016 14:33
So if i understand well. When i need to map a large area i could just check the X and Y of the mouse click and launch a function that would be more efficient than calling pick_object.Seems correct
In the case for example where i have two navigation objects. If I use viewport alignement they would always be at the same place. so if i determine a max and min X and Y i could simplify my app by checking if i click in a zone on the screen rather than calling pick_object?
Of course it would need a bit of math to recalculate the desired zone according to the viewport size for every device or every time the viewport size changes.