Unity provides standard spline asset, use BGCurve only if Unity spline misses some feature

Math [Component]

Description

Math gives you the access to Math functions for the curve.
Math always operate with world coordinates.
Currently 4 functions are supported
1) getDistance() [total curves length],
2) getPosition() [point position on the curve],
3) getTangent() [curve's point tangent]
4) getPositionByClosestPoint() [point position (and optionally distance) on the curve, which is closest to a given point])

See more details in Developers Guide section.

Parameters

fields

mathType

sectionParts

tolerance

usePositionToCalculateTangents

optimizeStraightLines

updateMode

rendererForUpdateCheck

mathChanged

showHandles

spheresScale

spheresColor

spheresCount