MathHelperConvertDirectionToHeading Method

RAGE Plugin Hook Documentation

[This is preliminary documentation and is subject to change.]

Converts the specified direction to a heading.

Namespace:  Rage
Assembly:  RagePluginHook (in RagePluginHook.dll) Version: 0.0.0.0 (0.56.1131.11510)
Syntax

public static float ConvertDirectionToHeading(
	Vector3 direction
)

Parameters

direction
Type: RageVector3
The direction to convert.

Return Value

Type: Single
A Single representing the heading of the direction.
Remarks

Note that since a heading is horizontal, the pitch is lost.
See Also

Reference