Edit

Share via


ITransformSmoothingLogic.SmoothPosition Method

Definition

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

public:
 UnityEngine::Vector3 SmoothPosition(UnityEngine::Vector3 source, UnityEngine::Vector3 goal, float lerpTime, float deltaTime);
public UnityEngine.Vector3 SmoothPosition (UnityEngine.Vector3 source, UnityEngine.Vector3 goal, float lerpTime, float deltaTime);
abstract member SmoothPosition : UnityEngine.Vector3 * UnityEngine.Vector3 * single * single -> UnityEngine.Vector3
Public Function SmoothPosition (source As Vector3, goal As Vector3, lerpTime As Single, deltaTime As Single) As Vector3

Parameters

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

Returns

UnityEngine.Vector3

Applies to