Maths-Damp(Vector2_Vector2_float_float).md

April 18, 2021 ยท View on GitHub

UnrealEngine.Framework.Maths

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

Creates framerate-independent dampened motion between two values

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

Parameters

from System.Numerics.Vector2
Value to damp from

to System.Numerics.Vector2
Value to damp to

lambda System.Single
Smoothing factor

deltaTime System.Single
Time since last damp

Returns

System.Numerics.Vector2