Click or drag to resize

Curve3DSetPointTilt Method

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.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public void SetPointTilt(
	int idx,
	float tilt
)

Parameters

idx
Type: SystemInt32

[Missing <param name="idx"/> documentation for "M:Godot.Curve3D.SetPointTilt(System.Int32,System.Single)"]

tilt
Type: SystemSingle

[Missing <param name="tilt"/> documentation for "M:Godot.Curve3D.SetPointTilt(System.Int32,System.Single)"]

See Also