We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

Problem Drag Move puzzle

Home Forums General Questions Problem Drag Move puzzle

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #62023
    filippobignami
    Participant

    Hi,
    i’m finding an issue due to the drag move puzzle.

    I have two wall that i’m scaling with the shape keys using the drag move puzzle as in the demo.
    In my scene i have two camera: the first one (CAMERA1) is a generic camera that orbit around my wall, the second one, instead, (CAMERA2) is fixed at the top and see the wall from the Z axis up to down.

    I want to use the dragmove puzzle interaction, that became active when dragged on one of the walls, only when is active CAMERA2.
    if i use a simple if condition when is active CAMERA1 if i try to rotate the camera while i’m on one of the two wall the camera doesn’t orbit, probably because it interfeeres with the drag move puzzle.

    I tried to put app.controls.enabled = true and that solve the problems in half , because at the begginning it works , but if i go to the second camera and then back to the first one, then it cause the problem again and I can’t orbit around my scene.

    I attach the screenshot of my puzzle.
    Has anyone encountered this problem yet ?

    Regards ,
    Filippo

    Attachments:
    You must be logged in to view attached files.
    #62041
    kdv
    Participant

    if i use a simple if condition when is active CAMERA1 if i try to rotate the camera while i’m on one of the two wall the camera doesn’t orbit

    you used the wrong place to enable controls

    Puzzles and JS. Fast and expensive.

    If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of meaning at all.

    #62145
    filippobignami
    Participant

    It works!

    Thank You very match!

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.