Touch Panning

Home Forums Programming Touch Panning

Tagged: ,

This topic contains 12 replies, has 2 voices, and was last updated by Alexander Kovelenov Alexander Kovelenov 2 weeks, 5 days ago.

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #20444
    Avatar
    laura
    Licensee

    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.
    Laura

    Attachments:
    You must be logged in to view attached files.
    #20448

    Hi Laura,
    can you attach the puzzles’s visual_logic.xml file so we could try your setup? Thanks!

    Co-founder and CTO at Soft8Soft
    FB | Twitter | VK

    #20449
    Avatar
    laura
    Licensee

    Hi 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.
    Laura

    • This reply was modified 3 weeks, 3 days ago by Avatar laura.
    Attachments:
    You must be logged in to view attached files.
    #20451

    Sorry, it seams like XML attaches are not allowed due to security reasons. Please compress it using zip and attach again.

    Co-founder and CTO at Soft8Soft
    FB | Twitter | VK

    #20453
    Avatar
    laura
    Licensee

    Hi Alexander,

    I modify one thing. I attach the file again.

    Thanks.

    Regards
    Laura

    Attachments:
    You must be logged in to view attached files.
    #20455

    Thanks for the updated example. This looks like a bug with camera controls, we’re going to fix it in the upcoming preview version of Verge3D. Sorry for the inconvenience.

    Co-founder and CTO at Soft8Soft
    FB | Twitter | VK

    #20456
    Avatar
    laura
    Licensee

    Ok, thanks a lot for the quick response.

    Regards.
    Laura

    #20511
    Avatar
    laura
    Licensee

    Hi Alexander,

    Do you know any other way to do this or something similar?

    Thanks.

    Regards.
    Laura

    #20512

    Hi Laura,

    you can try to disable camera controls using JavaScript. To do so, put this code inside the runCode() method located in your main application JS file:

    Co-founder and CTO at Soft8Soft
    FB | Twitter | VK

    #20578
    Avatar
    laura
    Licensee

    Hi 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.
    Laura

    Attachments:
    You must be logged in to view attached files.
    #20594

    Hi Laura,

    we’ve fixed the issue with the camera controls. Try to updat to the recent Verge3D preview build and check your Puzzles logic.

    Co-founder and CTO at Soft8Soft
    FB | Twitter | VK

    #20649
    Avatar
    laura
    Licensee

    Hi 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.
    Laura

    Attachments:
    You must be logged in to view attached files.
    #20653

    Hi Laura,
    thanks for the attached example, we’ll check it!

    Co-founder and CTO at Soft8Soft
    FB | Twitter | VK

Viewing 13 posts - 1 through 13 (of 13 total)

You must be logged in to reply to this topic.