- Home /
Question is off-topic or not relevant
How to get the length of a Cubic Bezier Curve?
Given four Vector3s, how do I compute for the length of the cubic bezier curve produced? I'm not good in math so what I'm looking for is a method something like float GetLength(Vector3 p0, Vector3 p1, Vector3 p2, Vector3 p3);
I need this so my GameObject could follow the cubic bezier curve with variable speed.
If anyone has a working code, can you share it? Thanks!
click to stackexchange for 1000s of questions about this, it is simply not a unity issue
Follow this Question
Related Questions
Rotation along bezier curve: not rotating enough 1 Answer
Procedural mesh, using beziers for walls and roads 0 Answers
pathCreator from Sebastian Lague - Loop start at Startposition from Segment 2 0 Answers
How best to make long pipes/cables in unity? 3 Answers
Determine transform.position of location between two waypoints on bezier path 0 Answers