This is kind of an abstract programming question, but I can't find anything online that is what I'm looking for.
I'm building an entity somewhat like the path_track, but it needs to allow for hills and turns (think of a rollercoaster), and the items I want to follow the track. I've been scratching my head as to how to get the object to follow the track and realistically speed up on downward slopes, slowdown on upward slopes, and stay on the track. I've tried to find examples, and physics explanations. I found a wonderful article on 2d rollercoaster simulation, however they used a chart to dictate the points of each curve, which I'm hoping to not do that. I thought possibly adding extra metadata to each segment of the track model, which includes the points of the curve of that specific track segment, but was hoping there was an easier way. Wondering if anyone on this list has any thoughts on how I could possibly implement something like this. Thanks.
_______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlcoders