Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to calculate curvature of spline
#1
Hi there,

Please can you help, I'm trying to create a spline between two points but with a certain curvature. This would be at runtime (if that matters).

My example, suppose I have a curved train track piece. I know the start point of the piece, and I know the end point of the piece, and I know the radius or curve of the piece. How then would I "bend" my spline so it connects the start/end points and matches the curve of the track piece?

I don't think I can use Conform Path because the collider is a box collider around the whole piece so it doesn't match the size or curve of the piece.

Thank you for your time

John
Reply


Messages In This Thread
How to calculate curvature of spline - by jh092 - 07-29-2020, 08:14 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Best way to duplicate a spline with an offset Kapistijn 7 240 02-07-2026, 07:59 PM
Last Post: _Aka_
Smile Constant speed along a spline? tfishell 1 407 11-13-2025, 11:32 AM
Last Post: _Aka_
  SplineController Ignores Follow-Up and Chooses Wrong Spline Josenildo 7 3,862 07-29-2025, 09:15 PM
Last Post: _Aka_
  Curvy Line Renderer for UI Spline? gekido 7 5,387 07-13-2025, 07:11 PM
Last Post: _Aka_

Forum Jump: