Parenting and sliding

Hello, i linked an empty to the curve with the follow path constraint (and the driver expression between the speed input and the evaluation time input) and parenting 6 cubes to the empty... but the empty is sliding along the curve... (see the video I can't loop: https://youtu.be/SK7L5qAW6NU ) I don't understand this sliding issue ? Thank you for your help
1 love
Reply
  • Adrian Bellworthy replied

    Hey Gal,

    The empty is the parent to the cube children,

    The children follow the parent wherever the parent goes.

    So the empty (parent) is moving (sliding) along the curve, as the follow path constraint intends, and the 6 cubelets follow along.

    It looks to me as if everything is working as it should be. When You render your animation, objects such as empties are not visible.
    If it is a distraction in the viewport, you can hide the empty in the outliner.
    I usually put any utility objects such as empties in a UTILS collection and hide the collection.

    1 love
  • Martin Bergwerf replied

    Hi Gal,

    It goes really fast in your video, but I think I see what you mean by sliding. But I cannot troubleshoot from just that video. Maybe it's a problem with your Driver, a mistake in the Expression, or an interpolation issue...in extreme cases, it might be due to rounding errors...It's probably something else, but without seeing your file, I have no idea.

    1 love
  • Adrian Bellworthy replied

    Ah! I see, you mean the cubes are "sliding".
    That is most likely be a driver error, there is a slight difference between the timing of the rollercoaster and the cubes.

    1 love
  • Gal Wip(Gal) replied

    Hello Adrian and Martin ! Thank you for your answers in despite of my not so clear explanation.

    The video is just a quick viewport render to see and explain the sliding issue along the time, such as comparing the start and the end.

    I check the driver expression many times... There's no keyframe too...

    If someone have the time and the will to check my file, I put it on my dropbox

    Thank you 


  • Adrian Bellworthy replied

    Hey Gal!
    SOLVED: Your Main.Curve resolution is too low. I changed it to 96 and it worked fine.

    I imagine the curve in the  rollercoaster GeoNodes file you link from has a higher resolution curve, this is causing the slight offset when viewing the animation.

    • 👍🏻
    1 love
  • Martin Bergwerf replied

    Actually, it is the difference in Resolution between these two:

    Assemble_01.png

    Setting the Main  Curve Resolution to 36 to match the Spline fixes it.

    • 👍
    1 love
  • Gal Wip(Gal) replied

    Thank you Adrian and Martin !

    • 👍🏻