| VelocityCalculatorGetAverageVelocity Method |
We keep a history of around BufferSize number of frames for the velocity. This method returns the average velocity between of all the frames up to the specified frame.
Namespace:
ImmerseSDK
Assembly:
ImmerseSDK.App (in ImmerseSDK.App.dll) Version: 3.7.0.0 (3.7.0.0)
Syntax Parameters
- numberOfFrames
- Type: SystemInt32
the number of frames to use to calculate the average with
Return Value
Type:
UnityEngine.Vector3The average velocity
See Also