Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
BiArc support
#3
BiArcs are often used for roads and railroads in simulation games. They are very effective, the math is simple, faster and stuff like collision detection, snapping, offseting, distance etc is extremely simple. Railroad Tycoon 3, Sid Meyers Railroads, Railway Empire, Train Fever, Transport Fever and several other train games all use BiArcs (or "Circular Arcs").

Suggested reading for introduction (and interactive examples):

https://www.redblobgames.com/articles/curved-paths/

http://www.ryanjuckett.com/programming/biarc-interpolation/

Some games apparently use 2d math (Railway Empire) while others use 3d math behind their BiArcs.

Since you have such a nice railroad example - you should really include a matching curve type suitable to build larger systems - aka BiArcs aka Circular Arcs Smile
Reply


Messages In This Thread
BiArc support - by ChezDoodles - 08-26-2019, 08:48 AM
RE: BiArc support - by _Aka_ - 08-26-2019, 10:52 AM
RE: BiArc support - by ChezDoodles - 08-26-2019, 06:49 PM
RE: BiArc support - by _Aka_ - 08-26-2019, 09:02 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Does CurvySplines support displaying handles and points during runtime? niuage 1 7 12-11-2023, 12:01 PM
Last Post: _Aka_
  Support for "Fast Enter Play Mode" via "No Domain Reload" XtroTheArctic 5 9 11-27-2023, 12:03 PM
Last Post: _Aka_
  webGL support maruska 1 3,181 09-11-2016, 04:42 PM
Last Post: Jake
Exclamation Support, Bugs - What goes where? Jake 0 2,971 09-30-2015, 09:03 AM
Last Post: Jake

Forum Jump: