Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Train carriage with 2 bogies following a path
#2
Hi
The black arc is called Arc Length, and the green line is called Cord Length.

The relationship between these two values is probably defined mathematically for all the spline types supported by Curvy Splines. I personally never looked at this subject. As an example here is an example of this relationship for a simple circle:
https://www.omnicalculator.com/math/arc-length

The rigourous way would be to to compute the arc length based on the cord length and the used spline type, then set the second bogie's position as: first bogie position + arc length

The easy way to do, that I would recommend for most cases, is to first set the bogie's position as if the arc length is equal to the desired cord length, and the compute the actual cord length. If it varies too much from the desired cord length, then increase/decrease the bogie's position a bit an then repeat until you get close enough to the desired cord length.

I hope this helped.
Have a nice day
I never looked for the relationship between these two for all the types of splines supported by Curvy Splines. Probably such relationship exists,
Available for freelance work, feel free to reach out: toolbuddy.net
Please consider leaving a review for Curvy, this helps immensely. Thank you.
Reply


Messages In This Thread
RE: Train carriage with 2 bogies following a path - by _Aka_ - 08-23-2023, 09:05 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Duplicate Prefab along path rickgplus 1 1,550 01-23-2025, 10:09 AM
Last Post: _Aka_
  Can't set CG Path Controller j95677 4 3,262 10-04-2024, 06:55 PM
Last Post: j95677
  Train-Wagon Wheels stathias 3 2,252 08-30-2024, 12:46 PM
Last Post: stathias
  Rasterized Path Range issue proton 7 4,270 04-30-2024, 11:17 AM
Last Post: _Aka_

Forum Jump: