Help: Dynamic
-
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