PureBasic - Spline

Overview

A spline contains any number of points which are smoothly interpolated. The time to go from one point to another is always the same, independent from the distance between these points. A spline doesn't exist physically in the 3D world, it is an virtual object which can be used for different purpose, like path-finding, smooth node moving (be sure to check NodeAnimation library for this as well) and more.

InitEngine3D() should be called successfully before using the spline functions.

See also the Wikipedia article about splines.

Command Index

AddSplinePoint
ClearSpline
ComputeSpline
CountSplinePoints
CreateSpline
FreeSpline
SplinePointX
SplinePointY
SplinePointZ
SplineX
SplineY
SplineZ
UpdateSplinePoint

Example

Spline.pb

Supported OS

All

Reference Manual - Index