Calculates the distance that the object has travelled using the event motion by the time timeDelta.

Namespace:  SGP.XSpace
Assembly:  SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825

Syntax

C#
public float GetTrackDelta(
	double timeDelta,
	float relativeValue
)

Parameters

timeDelta
Type: System..::.Double
Motion time.
relativeValue
Type: System..::.Single
Relative speed value, is multiplicated by the Max maximal speed and then saturated in between Min and Max.

Return Value

Returns the calculated distance.

See Also