private static void AddDefaultPoints(BezierCurve3D curve)
{
BezierPoint3D startPoint = curve.AddKeyPoint();
startPoint.LocalPosition = new Vector3(-1f, 0f, 0f);
startPoint.LeftHandleLocalPosition = new Vector3(-0.35f, -0.35f, 0f);
BezierPoint3D endPoint = curve.AddKeyPoint();
endPoint.LocalPosition = new Vector3(1f, 0f, 0f);
endPoint.LeftHandleLocalPosition = new Vector3(-0.35f, 0.35f, 0f);
}