Search - User list
Full Version: need more control while object follows a path
Root » Technical Discussion » need more control while object follows a path
wood78
Is there any way to have more control over an object as it follows a path. It is limited from 0 to 1 and 1 being that it starts over on the path. I have an object that is covering a good distance and with the lack of freedom I have between 0 and 1, it causes my object to have an undesirable amount of velocity because of the distance it is covering in the time given for it to move along the distance of the path. Any help or suggestions would be great. :?
EigenAlex
Hi, how about using primuv()? you can always use fit() to fit your old min-max to 0-1 as well.
edward
A simpler way I think is to try appending the Resample SOP to your curve to even out your velocity.
stevenong
Hi there,
wood78
Is there any way to have more control over an object as it follows a path. It is limited from 0 to 1 and 1 being that it starts over on the path. I have an object that is covering a good distance and with the lack of freedom I have between 0 and 1, it causes my object to have an undesirable amount of velocity because of the distance it is covering in the time given for it to move along the distance of the path. Any help or suggestions would be great. :?
Use a Resample SOP to resample the curve with the Maximum Segments parameter set to the length of your animation ($NFRAMES should work just fine).

I hope the above helps!

Cheers!
steven
wood78
thanks everbody,
I really appriecate the suggestions and I can work with the velocity now considering the resample has reduced my objects velocity around 200%!!!

aaron
Mistyk
The problem with the resample-approach is that the motion can sometimes get jerky. Do you know if there's any way around this?

Thank you in advance!
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by DjangoBB