Quantcast
Channel: Questions in topic: "curved path"
Viewing all articles
Browse latest Browse all 116

how to follow curved path?

$
0
0
If I want an object to travel from point A to point B, but also want the object to start from facing its own forward direction to facing aligned with a direction B.forward, then what is the best way to implement this? So far I calculate a bezier curve with my own script, but I cannot find the length of the curve which I need so that the object can travel at a constant speed. Some solutions talk about evaluating the curve numerically but this seems inefficient for many moving objects. Example this would be a way a car moves from point A to point B.

Viewing all articles
Browse latest Browse all 116

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>