pub fn add_cubic_bazier_points(
    start: Vector3,
    end: Vector3,
    control_1: Vector3,
    control_2: Vector3,
    resolution: i32
)
Expand description

Adds a cubic bezier curve to the current frame using points.

Arguments

  • start - A Vector3 representing the starting point of the curve.
  • end - A Vector3 representing the ending point of the curve.
  • control_1 - A Vector3 representing the first control point of the curve.
  • control_2 - A Vector3 representing the second control point of the curve.
  • resolution - An i32 representing the number of segments used to approximate the curve.