thx to @mathmathmath for sponsoring this project (jk) his code was used for motion smoothing of course owo