Vector3.Distance2D Method (Vector3, Vector3)

RAGE Plugin Hook Documentation

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

Calculates the distance between two vectors, ignoring the Z-component.

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

public static float Distance2D(
	Vector3 value1,
	Vector3 value2
)

Parameters

value1
Type: Rage.Vector3
The first vector.
value2
Type: Rage.Vector3
The second vector.

Return Value

Type: Single
The distance between the two vectors.
See Also

Reference