Function Curve3D.setPointTilt
Sets the tilt angle in radians for the point idx
. If the index is out of bounds, the function sends an error to the console.
The tilt controls the rotation along the look-at axis an object traveling the path would have. In the case of a curve controlling a PathFollow
, this tilt is an offset over the natural tilt the PathFollow
calculates.
void setPointTilt
(
const(long) idx,
const(double) tilt
) nothrow @nogc;