EntityTravelDistanceTo Method (Vector3)RAGE Plugin Hook Documentation

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

Gets the distance from this instance to the specified position, if using the road system.

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

public virtual float TravelDistanceTo(
	Vector3 position
)

Parameters

position
Type: RageVector3

[Missing <param name="position"/> documentation for "M:Rage.Entity.TravelDistanceTo(Rage.Vector3)"]

Return Value

Type: Single
A Single representing the distance from this instance to the specified position, if using the road system.

Implements

ISpatialTravelDistanceTo(Vector3)
See Also

Reference