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.

how to make camera change when click on “button” created in webflow.

Home Forums Puzzles how to make camera change when click on “button” created in webflow.

Viewing 12 posts - 16 through 27 (of 27 total)
  • Author
    Posts
  • #28631
    hella
    Customer

    and ID element? in the puzzle?

    #28632
    hella
    Customer

    better yet how do I add it? im literally confuse right now.

    #28635
    hella
    Customer

    Alright I am very confuse now. How do I add an element ID where do I add it? puzzle? or webflow? if its in the puzzle what puzzle do I need? if I have to do this in html note pad what id=div i need to type
    this?

    ?
    #28636
    hella
    Customer

    <!DOCTYPE html>
    <html>

    <head>
    <title>Index of Vsnow</title>
    <meta charset=”utf-8″>
    <meta name=”viewport” content=”width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0″>
    <meta name=”description” content=”Put some description here – remember about SEO!”>
    <style>
    #my_iframe {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    border: 0;
    }

    #hide_button, #show_button {
    position: absolute;
    width: 100px;
    height: 30px;
    background-color: DodgerBlue;
    color: white;
    text-align: center;
    line-height: 30px;
    cursor: pointer;
    }

    #hide_button {
    left: 10px;
    }

    #show_button {
    left: 120px;
    }
    </style>
    </head>

    <body>
    <iframe id=”my_iframe” src=”Vsnow.html”></iframe>

    </body>

    </html>

    #28637
    hella
    Customer

    ignore the last post sigh.. it didnt work. im trying to add an element ID but i dont know how. im lost.

    im just trying to simply assign a button when click it change active camera to another camera. I made the button ID”button_2″ in webflow exported it, and did the puzzle html “on event of click for elem “button_2” in parent doc checked do set active camera ‘camera’. im so confuse now.

    #28638

    You need to add an ID to a button. Like it shown here.

    Co-founder and lead graphics specialist at Soft8Soft.

    #28639
    hella
    Customer

    THANK YOU THANK YOU THANK YOU im gana buy this software now i figure it out thank you for YOUR HELP YAY!!!!!!! so happy :D love you

    #28640
    hella
    Customer

    THANK YOU THANK YOU THANK YOU im gana buy this software now i figure it out thank you for YOUR HELP YAY!!!!!!! so happy :D love you :yes: :yes: :yes: :yes: :yes: :yes: :yes: :yes: :yes: :yes: :yes: :yes: :yes: :yes: :yes: :yes: :yahoo: :yahoo: :yahoo: :yahoo: :yahoo: :yahoo: :yahoo:

    #28645

    :good:

    Co-founder and lead graphics specialist at Soft8Soft.

    #29780
    cukas
    Participant

    I have a problem by switching cameras… its seems it freezes after set active camera to second one :scratch:

    #29784
    illussimo
    Customer

    You have to make the camera look at another point then its new position (some empty or object in the scene). Now it doesn’t know where to look. :wacko:
    Hope this helps.
    :bye:

    #29787
    cukas
    Participant

    the problem comes when I try to change the camera with “set active camera”, cause even if I disable the tween camera puzzle when I click on the object it changes the camera but it freezes to 0 or 1 fps

Viewing 12 posts - 16 through 27 (of 27 total)
  • You must be logged in to reply to this topic.