Help: Dynamic
-
@don-quixote said:
I did a little test but completely fail
My object don't turn
You forgot to associate Angolo and RotX with
RotX -> = Angolo
But in this case, the Test object will be oriented on the X world axe to turn around it.
You must create a componant "around" the Test. Manualy turn this object with the X axe on the wanted orientation. Then, the Test object will turn around this axe.@unknownuser said:
dimensions still big (5Mb) (I discovered how to reduce the dimension )
In the componants windows, click on the arrow and select "Purge unused elements". After, do th same in the materials windows.@unknownuser said:
Ah! how can I upload the US file in forum without my host site?
Ty again
Go in the full editor (under the Quick Reply box), then under the text box there is a "Upload attachment" to join files.@unknownuser said:
(P.s sorry for my english)
Sorry for my english too
You know how called a man who know three languages ? A trilingual.
You know how called a man who know two languages ? A bilingual.
You know how called a man who know only one language ? A french man!
... that's right, I'm french... -
I create a solid (the arrow), then I changed the axes, and I wrote in the DC:
RotX - Angolo
On click - Animateslow(Angolo, 0,90,180,270)
Angolo - 0After this my arrow rotate on the floor
At this moment is it all correct?
-
-
ooooooooooh, I only wrote RotX Angolo
ahahaha -
.... what did I do wrong?
-
I do not think you have done nothing wrong - it appears, unfortunately that this is how Dynamic Components currently behave.
-
OOOh... so what is my next step to rotate my skuwb (I'm trying to repet step by step what DareDevil did)
-
You don't do wrong, you just miss a step
The Components don't turn around own axes but around worldaxes. And the worldis the local world were they are (also called Parent).
If you put your arrow like you do, the world is the global Sketchup scene. If you ask to turn around the X ax, the arrow will turn around the red ax of the scene, and as you don't tell anything for Y and Z rotation, SU must choose a value to solve 3D rotation and choose 0. So your arrow align to the red ax (RotY=0 and RotZ=0) and turn around it (RotX=something).To avoid it, you must create la local world around your arrow :
1- Draw something around your arrow (here an empty cube centered on the axes)
2- Select all (cube and arrow) and create a component (here called LocalWorld). Now you have a Arrowcomponent in a LocalWorldcomponent.
3- Change the axes of the LocalWorldto align to the Arrowaxes.
4- Now you can turn the LocalWorldas you want (and so the inside Arrowto).
5- When you ask Arrowto turn around X ax, it will turn around the LocalWorldX ax and so, the Arrow seem to turn around its own X ax.
Hope is better with some picts -
Yeeeeeees my arrow can turn now thaaanks
Just last question: is it normal my box inside the arrow don't turn with it?
-
-
@don-quixote said:
This project it's dedicated to DareDevil and Jim; thank you guys for helped me
Nice !
I've got one when I was younger, in the 80's -
Administrators can close this topic
Advertisement