I am trying to move some elements along a curve. I am doing this by taking the t value of points alnog the curve, and adding numbers to it. Since it's all between 0.0 and 1.0 these values are very small.
On the first picture, you see the value x (relative to the world system) which i wanted to extract and turn into the curve system (t 0.0 - 1.0). However it seems that the decimals are being rounded too soon (only 3 decimals in the sine function) and thus leading to imprecise results.
In order to translate these values i did the following:
multiplied the sine with a real world length, and then divided the result with the curve's length.
Tags:
- Attachments:
-