static void DrawPointProperties(SplineComponent spline) { Vector3 tangent = spline.GetTangent(spline.CurrentPointT); // Vector3 up = spline.GetUp(spline.CurrentPointT); Vector3 normal = spline.GetNormal(spline.CurrentPointT, Vector3.up); Vector3 p = spline.GetPoint(spline.CurrentPointT); Gizmos.color = Color.blue; Gizmos.DrawRay(p, tangent.normalized); Gizmos.color = Color.green; // Gizmos.DrawRay(p, up.normalized); Gizmos.DrawRay(p, normal.normalized); Gizmos.color = Color.red; Gizmos.DrawRay(p, Vector3.Cross(normal, tangent)); Gizmos.color = Color.black; Gizmos.DrawSphere(p, 0.05f); }