Wacky dynamic component doors
-
I'm trying to make a door open and shut. I follow the example but when I apply the final rule to the RotZ value of the door and hit enter, the door rotates around another axis.
This happens whether I pick RotX, RotY or RotZ.
When I pick one of them, it has a default value already in it. Say the default value is -180, if I try manually changing it to -175, it still flips out crazily instead of changing slightly.
Anyone else see this behavior?
-
Did you watch this video?
[flash=853,505:3djhtm2j]http://www.youtube.com/v/5vqS86TGhMQ&fs=1[/flash:3djhtm2j]
-
fizgig - I copied this topic to the Dynamic Components area of the forum.
Can you post the model so someone can take a look at what you have?
(fizgig... the dark crystal?)
-
It sounds like the component axis might not be in the right place. As jim says, post it up and we'll have a look. Much easier to diagnose that way
-
Thanks for the video link. Seems to contain the same ideas as the sketchup dynamic component example though.
I've attached my door. If you try to change any of the Rot values for the door itself, it goes haywire.
-
-
ooh, one thing i noticed, you need to put use "Door_angle" rather than Door_angle when referencing it in the onclick animate.
-
Not sure if that is true as Sketchup doesn't put the quotes in there when I click on it. Perhaps it is, don't know yet since I can't pass step one which is to be able to find and manipulate the right Rot variable without it going strange on me.
-
Im fairly sure you do need the quotes, as the new version i posted didnt work properly without them. And did the exploding and recomponenting thing not work?
Advertisement