Home › Forums › Programming › Touch Panning
- This topic has 12 replies, 2 voices, and was last updated 5 years, 2 months ago by Alexander Kovelenov.
-
AuthorPosts
-
2019-10-18 at 8:08 am #20444lauraCustomer
Hi team,
I want to create a personal panning, where only move up and down and don’t move right and left. With mouse I get it but with touch I can’t do it. I want move a dummy object when de user move two finger over de screen, but I don’t know how to know that two finger are moving up or down ¿How can I do it?
I Attach two images. One with the form that I do de mouse panning and the other is the form that I do the same with touch but not work.
Thanks a lot.
Regards.
Laura2019-10-18 at 9:26 am #20448Alexander KovelenovStaff2019-10-18 at 10:08 am #20449lauraCustomerHi Alexander,
I Attach the puzzle’s file.
I forget to say us that not allow panning in my 3d object because only want the up and down panning.Thanks.
Regards.
Laura2019-10-18 at 10:11 am #20451Alexander KovelenovStaff2019-10-18 at 10:31 am #20453lauraCustomerHi Alexander,
I modify one thing. I attach the file again.
Thanks.
Regards
Laura2019-10-18 at 3:03 pm #20455Alexander KovelenovStaff2019-10-18 at 3:09 pm #20456lauraCustomerOk, thanks a lot for the quick response.
Regards.
Laura2019-10-21 at 10:57 am #20511lauraCustomerHi Alexander,
Do you know any other way to do this or something similar?
Thanks.
Regards.
Laura2019-10-21 at 12:47 pm #20512Alexander KovelenovStaff2019-10-22 at 12:46 pm #20578lauraCustomerHi Alexander,
We have seen that we can do it allow panning in my 3D Object and blocking left and right move but we don’t know how we must do it.
I attach us my visual_logic.xml where you can see the form that we make it but we don’t get to block de movement.
Thanks.
Regards.
Laura2019-10-22 at 2:21 pm #20594Alexander KovelenovStaff2019-10-23 at 3:24 pm #20649lauraCustomerHi Alexander,
We’ve changed to the new versión and the problem already exist. Now, when the user put two finger the event “touchmove” detect that the user has two finger but now the “get camera direction” not detect de movement. That is normal?
In other hand we have a problem with de ambient occlusion that in the previous versión not happen. We have a highlight material in a object that is hidden by the next object that appear. In the previous versión nothing happen and the highlight was hidden but now with the ambient oclusion the highlight is displayed a little.
Attach de visual_logic.xml, and two images, one with ambient oclusion and another whitout it.
Thanks a lot!
Regards.
Laura2019-10-24 at 6:38 am #20653Alexander KovelenovStaff -
AuthorPosts
- You must be logged in to reply to this topic.