DefaultTransformSmoothingLogic.SmoothPosition Method

Definition

Smooths from source to goal, provided lerptime and a deltaTime.

C++
public:
 virtual UnityEngine::Vector3 SmoothPosition(UnityEngine::Vector3 source, UnityEngine::Vector3 goal, float lerpTime, float deltaTime);

Parameters

source
UnityEngine.Vector3
goal
UnityEngine.Vector3
lerpTime
Single
deltaTime
Single

Returns

UnityEngine.Vector3

Implements

Applies to

Product Versions
MRTK2 Unity 2018 2.7.0
MRTK2 Unity 2019 2.7.0, 2.8.0
MRTK2 Unity 2020 2.7.0, 2.8.0