Click or drag to resize

Curve3DInterpolateBakedUpVector Method

Returns an up vector within the curve at position offset, where offset is measured as a distance in 3D units along the curve.

To do that, it finds the two cached up vectors where the offset lies between, then interpolates the values. If apply_tilt is true, an interpolated tilt is applied to the interpolated up vector.

If the curve has no up vectors, the function sends an error to the console, and returns (0, 1, 0).

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public Vector3 InterpolateBakedUpVector(
	float offset,
	bool applyTilt = false
)

Parameters

offset
Type: SystemSingle

[Missing <param name="offset"/> documentation for "M:Godot.Curve3D.InterpolateBakedUpVector(System.Single,System.Boolean)"]

applyTilt (Optional)
Type: SystemBoolean

[Missing <param name="applyTilt"/> documentation for "M:Godot.Curve3D.InterpolateBakedUpVector(System.Single,System.Boolean)"]

Return Value

Type: Vector3

[Missing <returns> documentation for "M:Godot.Curve3D.InterpolateBakedUpVector(System.Single,System.Boolean)"]

See Also