02-07-2024, 03:09 AM
Hi there,
Let's say I have a spline with several control points. I would like to be able to move those control points by small amounts but keep the spline at a constant length (during runtime).
I'm fine with moving the control points etc but the spline "stretches" of course when the points are moved. I guess my question is:
1. Is there a way to "set" the length of a spline? How would I calculate where one of the end control points needs to be so that the spline length was a certain value?
Thank you for any help you can provide.
John
Let's say I have a spline with several control points. I would like to be able to move those control points by small amounts but keep the spline at a constant length (during runtime).
I'm fine with moving the control points etc but the spline "stretches" of course when the points are moved. I guess my question is:
1. Is there a way to "set" the length of a spline? How would I calculate where one of the end control points needs to be so that the spline length was a certain value?
Thank you for any help you can provide.
John