BG`Database
BG`Localization
BG`Curve
Blog
Support
more_vert
BG Database
BG Localization
BG Curve
Support
BG Curve Home
Features
Videos
Screenshots
BG Spline Colliders
User Guide
Manipulating Points
Spline Properties
Spline Settings
Developer Guide
Coordinates
Math
Examples
Overview
API Reference
Curve
Point
Math
Section
Components
Math
Collider 3D Box
Collider Capsule
Collider 3D Mesh
Collider 2D Box
Collider 2D Edge
Collider 2D Mesh
TRS
Line Renderer
Triangulate 2D
Polyline Splitter
Sweep 2D
Cursor
Move by cursor
Rotate by cursor
Scale by cursor
Lerp cursor
Versions
BG Curve Home
User Guide
For Programmers
Components
Versions
Unity provides standard
spline asset
, use BGCurve only if Unity spline misses some feature
Cursor [Component]
Description
Let you define a position on the curve by distance or distance ratio [Range(0,1]. This component does nothing except defining this position.
Parameters
distance
Distance in standard Unity units along the spline. if distance overflows spline's length (<0 or > totalDistance), it will be clamped.
distanceRatio
Normalized distance [Range(0,1)]. 0- start of the spline, 1- end.
showHandles
This component supports handles in Scene View. Enable this flag to show handles. Handles are not interactive.
handlesScale
Adjust handles scale.
handlesColor
Set handles color.