Uploaded September 2021 | Updated September 2026, 1 week ago
Smooth your input system values to create more fluid movement and animation transitions.
แ Get the full Source Code Bundle to my Unity Tutorials ๐ค
sam-yam.itch.io/samyam-full-source-code-to-all-videos
๐ฅ Get the Source Code ๐ฅ
patreon.com/posts/56190532
๐ค Support Me ๐ค
Patreon: patreon.com/samyg
Donate: ko-fi.com/samyam
โบ๐ Relevant Video Links ๐
แ Smooth Damp Documentation
docs.unity3d.com/ScriptReference/Mathf.SmoothDamp.html
docs.unity3d.com/ScriptReference/Vector2.SmoothDamp.html
docs.unity3d.com/ScriptReference/Vector3.SmoothDamp.html
แ Reddit MoveTowards vs. Lerp vs. Slerp vs. SmoothDamp by u/Mnpk
reddit.com/r/Unity3D/comments/6iskah/movetowards_vs_lerp_vs_slerp_vs_smoothdamp
แ Freya Holmรฉr Lerp vs Slerp Visual
twitter.com/FreyaHolmer/status/1176137498323501058
In this video I show you how to smooth your input system values to create either smooth movement or animation (or any use case). In the Old Input System, GetAxis interpolated to value for you, but unfortunately in the new input system there is no equivalent. So we have to manually lerp/damp it ourselves in code.
Disclosure: This post may contain affiliate links, which means we may receive a commission if you click a link and purchase something that we have recommended. While clicking these links won't cost you any money, they will help me fund my development projects while recommending great assets!
๐ Other Cool Unity Assets ๐
แ Peek - Editor Toolkit: assetstore.unity.com/packages/tools/utilities/peek-editor-toolkit-149410
แ Editor Console Pro: assetstore.unity.com/packages/tools/utilities/editor-console-pro-11889
แ Rainbow Folders 2: assetstore.unity.com/packages/tools/utilities/rainbow-folders-2-143526
โบโฑ๏ธ Timestamps โฑ๏ธ
0:00 Intro
0:24 Visualize Problem
1:41 Input Action Mode
2:06 Player Script Overview
2:28 Different Ways to Smooth Value
3:35 Smooth Input with SmoothDamp
6:17 Outro
๐๐THANK YOU TO ALL MY PATRONS ๐๐
โฏโฏโฏ My Links โฎโฎโฎ
๐ Patreon ๐
patreon.com/samyg
๐ฌ Discord Server ๐ฌ
discord.gg/SwCKB3Q
๐ฆ Twitter ๐ฆ
twitter.com/samyam_utube
๐ Facebook ๐
facebook.com/samyam.youtube
๐ต Music ๐ต
Ambient Gold
streambeats.com
๐ Like and Subscribe! ๐
๐ฅ๏ธ Computer Setup ๐ฅ๏ธ
*As an Amazon Associate I earn from qualifying purchases.
amazon.com/shop/samyam
#madewithunity #gamedev #unity
Smooth your input system values to create more fluid movement and animation transitions.
แ Get the full Source Code Bundle to my Unity Tutorials ๐ค
sam-yam.itch.io/samyam-full-source-code-to-all-videos
๐ฅ Get the Source Code ๐ฅ
patreon.com/posts/56190532
๐ค Support Me ๐ค
Patreon: patreon.com/samyg
Donate: ko-fi.com/samyam
โบ๐ Relevant Video Links ๐
แ Smooth Damp Documentation
docs.unity3d.com/ScriptReference/Mathf.SmoothDamp.html
docs.unity3d.com/ScriptReference/Vector2.SmoothDamp.html
docs.unity3d.com/ScriptReference/Vector3.SmoothDamp.html
แ Reddit MoveTowards vs. Lerp vs. Slerp vs. SmoothDamp by u/Mnpk
reddit.com/r/Unity3D/comments/6iskah/movetowards_vs_lerp_vs_slerp_vs_smoothdamp
แ Freya Holmรฉr Lerp vs Slerp Visual
twitter.com/FreyaHolmer/status/1176137498323501058
In this video I show you how to smooth your input system values to create either smooth movement or animation (or any use case). In the Old Input System, GetAxis interpolated to value for you, but unfortunately in the new input system there is no equivalent. So we have to manually lerp/damp it ourselves in code.
Disclosure: This post may contain affiliate links, which means we may receive a commission if you click a link and purchase something that we have recommended. While clicking these links won't cost you any money, they will help me fund my development projects while recommending great assets!
๐ Other Cool Unity Assets ๐
แ Peek - Editor Toolkit: assetstore.unity.com/packages/tools/utilities/peek-editor-toolkit-149410
แ Editor Console Pro: assetstore.unity.com/packages/tools/utilities/editor-console-pro-11889
แ Rainbow Folders 2: assetstore.unity.com/packages/tools/utilities/rainbow-folders-2-143526
โบโฑ๏ธ Timestamps โฑ๏ธ
0:00 Intro
0:24 Visualize Problem
1:41 Input Action Mode
2:06 Player Script Overview
2:28 Different Ways to Smooth Value
3:35 Smooth Input with SmoothDamp
6:17 Outro
๐๐THANK YOU TO ALL MY PATRONS ๐๐
โฏโฏโฏ My Links โฎโฎโฎ
๐ Patreon ๐
patreon.com/samyg
๐ฌ Discord Server ๐ฌ
discord.gg/SwCKB3Q
๐ฆ Twitter ๐ฆ
twitter.com/samyam_utube
๐ Facebook ๐
facebook.com/samyam.youtube
๐ต Music ๐ต
Ambient Gold
streambeats.com
๐ Like and Subscribe! ๐
๐ฅ๏ธ Computer Setup ๐ฅ๏ธ
*As an Amazon Associate I earn from qualifying purchases.
amazon.com/shop/samyam
#madewithunity #gamedev #unity










