Uploaded May 2026 | Updated November 2026, 17 hours ago
In this episode, you'll add weapon tilt when strafing left and right. This creates dynamic motion where the weapon rolls in the direction of movement, similar to how a motorcycle leans into turns.
By the end, your weapon will tilt smoothly when you strafe, adding another layer of motion realism.
What You'll Learn:
- Converting player velocity to camera-local space
- Calculating lateral movement fraction
- Applying Z-axis rotation (roll)
- Using springs for smooth tilt transitions
- Tuning tilt parameters for feel
-----------------------------------------------------------------------------------
🔥 GET THE SOURCE FILES
patreon.com/posts/episode-20-tilt-156206011?utm_medium=clipboard_copy&utm_source=copyLink&utm_campaign=postshare_creator&utm_content=join_link
✅ GET THE STARTERKIT PROJECT
patreon.com/posts/make-fps-2-0-134340702
🎮 Wishlist My FPS Game, Children of Kronos
store.steampowered.com/app/3640450/Children_of_Kronos/?utm_source=youtube&utm_medium=description&utm_campaign=tutorial
-----------------------------------------------------------------------------------
CHAPTERS
0:00 Introduction to Weapon Tilt Animation
0:24 Defining Animation Variables
1:03 Initializing Base Weapon Rotation
1:55 Implementing the Update Function
2:09 Local Velocity Calculation
3:13 Calculating Lateral Movement Fraction
4:12 Setting the Tilt Target
4:40 Using Springs for Smooth Motion
5:13 Applying Rotation to the Weapon Model
5:58 Testing and Adjusting Parameters
-----------------------------------------------------------------------------------
STAYATHOMEDEV ►► patreon.com/c/StayAtHomeDev_
TWITTER ►► twitter.com/StayAtHomeDev
BLUESKY ►► https://bsky.app/profile/stayathomedev.bsky.social
MY ITCH.IO PAGE ►► stayathomedev.itch.io
PATREON ►► patreon.com/c/StayAtHomeDev_
-----------------------------------------------------------------------------------
Resources:
GODOT ENGINE ►► godotengine.org
DOWNLOAD GODOT ►► godotengine.org/download
#godot #gamedev #fpstutorial
In this episode, you'll add weapon tilt when strafing left and right. This creates dynamic motion where the weapon rolls in the direction of movement, similar to how a motorcycle leans into turns.
By the end, your weapon will tilt smoothly when you strafe, adding another layer of motion realism.
What You'll Learn:
- Converting player velocity to camera-local space
- Calculating lateral movement fraction
- Applying Z-axis rotation (roll)
- Using springs for smooth tilt transitions
- Tuning tilt parameters for feel
-----------------------------------------------------------------------------------
🔥 GET THE SOURCE FILES
patreon.com/posts/episode-20-tilt-156206011?utm_medium=clipboard_copy&utm_source=copyLink&utm_campaign=postshare_creator&utm_content=join_link
✅ GET THE STARTERKIT PROJECT
patreon.com/posts/make-fps-2-0-134340702
🎮 Wishlist My FPS Game, Children of Kronos
store.steampowered.com/app/3640450/Children_of_Kronos/?utm_source=youtube&utm_medium=description&utm_campaign=tutorial
-----------------------------------------------------------------------------------
CHAPTERS
0:00 Introduction to Weapon Tilt Animation
0:24 Defining Animation Variables
1:03 Initializing Base Weapon Rotation
1:55 Implementing the Update Function
2:09 Local Velocity Calculation
3:13 Calculating Lateral Movement Fraction
4:12 Setting the Tilt Target
4:40 Using Springs for Smooth Motion
5:13 Applying Rotation to the Weapon Model
5:58 Testing and Adjusting Parameters
-----------------------------------------------------------------------------------
STAYATHOMEDEV ►► patreon.com/c/StayAtHomeDev_
TWITTER ►► twitter.com/StayAtHomeDev
BLUESKY ►► https://bsky.app/profile/stayathomedev.bsky.social
MY ITCH.IO PAGE ►► stayathomedev.itch.io
PATREON ►► patreon.com/c/StayAtHomeDev_
-----------------------------------------------------------------------------------
Resources:
GODOT ENGINE ►► godotengine.org
DOWNLOAD GODOT ►► godotengine.org/download
#godot #gamedev #fpstutorial










