Rotating in the Direction of Movement 2D (Unity Tutorial) @KetraGames
Rotating in the Direction of Movement 2D (Unity Tutorial)  @KetraGames
Uploaded May 2021 | Updated September 2026, 2 weeks ago
In this Unity game development tutorial we're going look at how
we can rotate a 2D object so that it faces the direction it’s moving in.

The final script from the video can be found here - dotnetfiddle.net/zyxR2c

You can get access to the full solution by supporting us on Patreon - patreon.com/posts/51324463
or if you'd like to buy us a coffee - ko-fi.com/ketragames

00:00 - Introduction
00:15 - Setting up the Scene
01:13 - Creating a script to move the character
04:40 - Making the character rotate
06:28 - Handling sprites of different orientation
07:52 - Summary

#KetraGames #LearnUnity #UnityTutorials #UnityTips
Rotating in the Direction of Movement 2D (Unity Tutorial)Editing Animations (Unity Tutorial)How to Create Custom Yield Instructions for Coroutines (Unity Tutorial)How to Hide the Cursor on the Unity Splash Screen (Unity Tutorial)How to Use a Seed Value to Recreate Procedurally Generated Levels | Unity TutorialAnimating Text - Star Wars Style (Unity Tutorial)Easily Create Different Enemy Types in Unity Using Prefab VariantsCreating a Third Person Camera (Unity Tutorial)Escape Unity Animator Hell!!How to Create 3D Moving Platforms (Unity Tutorial)Using Root Motion with a Character Controller (Unity Tutorial)Using Calculations to set Values (Unity Tip)
Ketra Games |

Rotating in the Direction of Movement 2D (Unity Tutorial)

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER