Wallpaper Engine

Wallpaper Engine

Layer cursor follow
Bruhsty Oct 29, 2023 @ 7:11am
Smoothing
Hey, I tried smoothing it out using WEMath.mix(), but it doesn't work, it only dampens the movement, but doesn't smooth it.

return new Vec3(WEMath.mix(value.x, value.x+cursorDelta.x, step), WEMath.mix(value.y, value.y+cursorDelta.y, step), value.z);
I guess it's because it's gets overwritten by initPos, any ideas for smoothing?