problem of animation in simulation center

Hi everybody,
I have a little “problem” during the simulation:

when i try the animation there is a distance between all the parts. I don’t understand why.
Does anyone can help me?

A model is attached.
thanks for your help.

You need to change the value for bodyCylinder.r[3] (in “oscillant”) to {0,0,0} and the same change for bodyBox (in “support”).
Both these components will otherwise use their start values, which are {0.1,0,0}. You can see this by opening Modelica.Mechanics.MultiBody.Parts.BodyCylinder in the Modelica Text View in SystemModeler.

It’s ok,
the description of r[3] is not a great help.

thank you for your help.