4/13/2023 0 Comments Get distance along spline ue4![]() In the case of our simplest spline, "two-thirds through" would correspond to 0.67f. Why a float? So that you can point at somewhere between the control points and ask what the value there is. My knowledge on this is rusty, but the idea seems to be that the starting point has the value of 0.0f, and is increased by 1.0f (by default) per point, so a minimal spline out of two points goes from 0.0f to 1.0f while one made of 4 points would go from 0.0f to 3.0f, with the intermediate points having the values 1.0f and 2.0f. A spline is generally formed from control points, similar to a Bezier curve. A spline key input is a bit like an index into the spline.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |