Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Keeping a fixed spline length
#1
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
Reply


Messages In This Thread
Keeping a fixed spline length - by jh092 - 02-07-2024, 03:09 AM
RE: Keeping a fixed spline length - by _Aka_ - 02-07-2024, 10:00 AM
RE: Keeping a fixed spline length - by jh092 - 02-08-2024, 01:34 AM
RE: Keeping a fixed spline length - by Primrose44 - 02-21-2024, 06:25 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Curvy Line Renderer for UI Spline? gekido 3 6 04-04-2024, 12:56 PM
Last Post: _Aka_
  Get position of all control points for a spline gekido 1 6 03-28-2024, 10:08 PM
Last Post: _Aka_
Bug Changing spline connection in inspector causes splines to revert to defaults lacota 3 6 03-18-2024, 07:55 PM
Last Post: _Aka_
  GO can't fit end of the spline GameDeveloperek4123 3 14 03-04-2024, 11:06 AM
Last Post: _Aka_

Forum Jump: