02-24-2022, 12:07 PM
I apologize if I missed a similar answer, but I can't figure this one out.
I want to find out the world position of a point of the spline that's identified by its TF.
My goal is to have an object more or less follow a spline, but without using the spline controller script.
My idea was to simply, do this:
- look for a point ahead of the object
- get the TF of that point on the spline using GetNearestPointTF
- find the world coordinates of that point (local coordinates would be ok since it's easy to transform to world coords using the splines world coordinates).
Thanks!
I want to find out the world position of a point of the spline that's identified by its TF.
My goal is to have an object more or less follow a spline, but without using the spline controller script.
My idea was to simply, do this:
- look for a point ahead of the object
- get the TF of that point on the spline using GetNearestPointTF
- find the world coordinates of that point (local coordinates would be ok since it's easy to transform to world coords using the splines world coordinates).
Thanks!