Quantcast
Channel: SketchUp - SketchUp Community
Viewing all articles
Browse latest Browse all 37244

How to make dynamic Component children inherit the onClick message

$
0
0

@sergeyisaleftwingnut wrote:

Hi
I have two components a door and a hinge.
When I click on the door I want the door and the hinge to open or animate by rotating around the same axis..
I have made the two parts and made them animate the way I'd like separately.
I now want to combine the two parts that animate into a singe component.
I think I want the door to be the parent component and the hinge to be the child component.
What I think I want is when a user clicks on the door I want the door to animate and the onClick to be passed to the child component i.e. the hinge and have it animate at the same time.
Can someone show me how this is done?
Door_Hinge_Inherit_Click_001.skp (1.1 MB)
Here is the file with the two separate components.
Thanks in advance.

Posts: 7

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 37244

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>