Smooth Rotation tutorial in Unity

Опубликовано: 27 Сентябрь 2024
на канале: BudGames
7,861
104

In this video you will learn how to Smoothly Rotate a Game Object in Unity.
this video includes both 2d and 3d tutorials.

"Smooth Rotation tutorial in Unity" CHAPTERS :
0:00 2D Smooth Rotation
1:51 3D Smooth Rotation

=============================

C# Smooth Rotation Code :
float Angle = Mathf.SmoothDampAngle(transform.eulerAngles.y , TargetAngle ,ref float , 0.1f );

=============================
UI Button Tutorial :    • UI Button in Unity (Down , Drag , Up)  


#unity #Rotation_unity #unity2d #unity3d