been trying and failing to find a tutorial for moving a non-circular 'circle' spline along a path and keep it flat on the surface as it rotates - am actually trying to roll a condensed letter o along a path, that might make it clearer what I'm on about.
If I get that working, that will then hopefully drive an up-down y-axis movement of an object sitting on top of it as it's driven along the path.
Have been getting into xpresso recently so think I'll be able to muddle through the second bit but am unable to get my head round the first bit with the non-circular circle at all.
If this make any sense, would be very grateful if anyone can point me in the right direction.
One way to do this would be to use a deformer on the spline/object, with the deformer being a sibling. Then animate the rotation of the spline/object and animate the whole shebang along a spline. You can look up the formula for end rotation value and get the length of your spline using Xpresso's spline node.
So yeah, I didn't quite get what you were saying. I had a thought that could work to solve this problem but it requires the Studio Bundle (Constraint Tag) so hopefully you have that.
Basically what I'm doing is constraining the Cube's position to the letter object, and also clamping it's distance from the letter's surface. That solves the issue of the cube's placement.
However! You can also use this to generate a spline that will keep the letter from penetrating the floor. To do that you use a Mograph Tracer to trace the cube's path. So you'd move the letter along a straight path and trace the cube's position. At the last frame of the animation make the Tracer editable. Set the new spline's intermediate points to uniform and then use that spline as your Align-to-spline path. You'll just have to position it in Y so that the letter sits on the floor.
Thanks for that, Adam, that's impressive / a great help.
I'm still getting a tiny amount of penetration / rising above but guessing that might be to do with my example font 'o' not being exactly even in terms of radius so will keep that in mind when I do this proper.
Thanks for that constraint heads up, I've had pretty mixed success with constraints but this is a great example to refer to.
Glad I could help. After doing that file it occurred to be that you might also be able to use the Xpresso bounding box node for the cube position, but I'm not exactly sure how it works. I could get it to sort of work but not 100%.