Hi, I would be very happy if there are any resources on this. … Have been looking on odforce and here for a while. I am looking for a way to attach an object on a curve, then animate it along that curve and also get it deform as it flows. Just like the Maya tool: Animate->Motion Path->Flow Path Object
(see the image please)
I tried various techniques, latices etc. But no success. It is supposed to be easy Just wanted to be sure if I am not missing a simple solution…
Well, I have seen it as well. It is a great example. but not very straight forward. I tried to edit it once, but got lost And it does not center the object on the centroid. I think that was the problem. It deforms it along the curve as: the tail of the object is aligned at the very beginning of the curve and at the final stage the head of the object is aligned at the end of the curve.
When I tried to fix this, I got totally lost in the VEX stages.
I haven't released this yet because it's not finished. It is created with the creep sop. Basically you sweep a line up a curve and use creep to deform your geometry along that surface. You can do some math to figure out how to center your object and determine the settings for the creep operator so the geometry does not appear stretched out.
It worked. Thanks for the idea. The creep part is a bit manual. In terms of figuring out the length of the sweeped geo and then the propotions to fit the actual geometry on the sweeped surface. The mesh that drives the creep is 2D at the end right? it is just a nurbs surface generated from the line sweep?
Yes, you are driving the mesh with a nurbs surface.
The length, width, and depth can be figured out exactly with the right formulas, taking the bounding box of your source geo into account. I don't have my file with me at the moment, but I'll try to post it tonight. If you know the formulas, there's no need to guess.