Maths-Damp(Vector3_Vector3_float_float).md

April 18, 2021 ยท View on GitHub

UnrealEngine.Framework.Maths

Maths.Damp(System.Numerics.Vector3, System.Numerics.Vector3, float, float) Method

Creates framerate-independent dampened motion between two values

public static System.Numerics.Vector3 Damp(System.Numerics.Vector3 from, System.Numerics.Vector3 to, float lambda, float deltaTime);

Parameters

from System.Numerics.Vector3
Value to damp from

to System.Numerics.Vector3
Value to damp to

lambda System.Single
Smoothing factor

deltaTime System.Single
Time since last damp

Returns

System.Numerics.Vector3