Click or drag to resize

VelocityCalculatorGetVelocityAt Method

We keep a history of around BufferSize number of frames for the velocity. This method returns the velocity at the particular frame.

Namespace:  ImmerseSDK
Assembly:  ImmerseSDK.App (in ImmerseSDK.App.dll) Version: 3.7.0.0 (3.7.0.0)
Syntax
C#
public UnityEngine.Vector3 GetVelocityAt(
	int distanceFromCurrent
)

Parameters

distanceFromCurrent
Type: SystemInt32
the number of frames in the past the we should reference

Return Value

Type: UnityEngine.Vector3
The velocity at the frame
See Also