Dynamic Weighted Moving Average Vector

Dynamic Weighted Moving Average Vector

Windows
MacOS
Linux

Calculates the new value in a weighted moving average series using the previous value and a weight range. The weight range is used to dynamically adjust based upon distance between the samples This allows you to smooth a value more aggressively for small noise and let large movements be smoothed less (or vice versa)

Target is Kismet Math Library

Dynamic Weighted Moving Average Vector
Current Sample
X0
Y 0
Z 0
Previous Sample
X0
Y 0
Z 0
Max Distance
0.0
Min Weight
0.0
Max Weight
0.0
Return Value
X0
Y 0
Z 0

Inputs

Current Sample
Vector

The value to blend with the previous sample to get a new weighted value

Previous Sample
Vector

The last value from the series

Max Distance
Float

Distance to use as the blend between min weight or max weight

Min Weight
Float

The weight use when the distance is small

Max Weight
Float

The weight use when the distance is large

Outputs

Return Value
Vector

the next value in the series

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss