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.

Dynamic animation

Home Forums General Questions Dynamic animation

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #42237
    chris
    Participant

    Hello,

    I would like to animate dynamically an object when clicking on buttons :
    – the first button should move the object on x and y to the A position
    – a second button should move the object on x and y to the B position
    – a third button should move the object on x and y to the C position

    I tryed with the animate parameter puzzle. It works good for one paramater, the z axe for example. The object goes dynamically on the right position with a nice elastic effect. And this starting with z coordinate object as the first parameter, so that the animation is really fluid.

    But I don’t know how to do change the x coordinate in the same time.
    A precision, I want to do this for 60 objects in the same scene and time.

    Thank you very much for your help.

    Christophe

    #42242
    xeon
    Customer

    I belive I understand what you want to accomplish. There are a few approaches I will cover two.

    1. You create a static object either via puzzles or in your 3D application and you now want to animate using the Change puzzle so that object some xyz distance using an onclick event on another object to trigger the animation. The Change puzzle gives you parameters for x y and z. You would have to run through a loop at some increment that gets you to the desired position.

    2. The second option is to create the animation in a program such as Blender, Max or Maya. As an example you could animate the first button move from frame 0 to 30. The second animation would move the object from 31 to 60 and the last would be from 61 to 90. The animation would recognized in Verge3d. You would use the Play Animation puzzle with advanced playback option checked. This allows you to select your animation and the specified start and end frames. You would then use an onclice even to call the specific Play animation puzzle for the segment you want.

    Hope this helps.

    Xeon
    Route 66 Digital
    Interactive Solutions - https://www.r66d.com
    Tutorials - https://www.xeons3dlab.com

    #42263
    chris
    Participant

    Thank you very much for your message Xeon.

    You have well understood. The first way is finally more difficult as the second one because I’ve to move 60 objects in the same time.
    I’ll make an animation directly in Blender as you suggested.

    Thanks again for your help!

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