sketchucation logo sketchucation
    • Login
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    Triggering an onClick inside an 'onClick-animated' group

    Scheduled Pinned Locked Moved Dynamic Components
    sketchup
    1 Posts 1 Posters 1.1k Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • plot-parisP Offline
      plot-paris
      last edited by

      I have the following situation:
      a set of sliding doors, that - when onClicked - slide to the side.
      in one of those door panels there is an integrated pivoting door, that you can open to enter the space, when the facade is closed...

      door_in_sliding_door.jpg
      I would like to be able to animate this door, when onClicking and at the same time being able to animate all the sliding doors when onClicking any of the other panels.

      I grouped all the doors to animate them all together with one onClick. unfortunately that means, that when I click the red door, it triggers the sliding animation as well, ignoring the pivoting door animation.
      that behavior is logical, for the sliding animation is 'higher up' in the grouping hierarchy.

      I then applied the sliding animation to another trigger-surface (the collums in that case) and tried to pass the information on to the sliding doors. but it seems that variable information is only passed on from parent to child, but not from brother to sister or from child to parent.

      at the moment I can't think of a way to solve this problem. I would be delighted to hear your theories...

      PS: ideally, when the red door is open and you click the sliding doors, the red door would close first and only then the sliding animation would start. just to make things more complicated... 😕


      door_in_sliding_door.skp

      1 Reply Last reply Reply Quote 0
      • 1 / 1
      • First post
        Last post
      Buy SketchPlus
      Buy SUbD
      Buy WrapR
      Buy eBook
      Buy Modelur
      Buy Vertex Tools
      Buy SketchCuisine
      Buy FormFonts

      Advertisement