У нас вы можете посмотреть бесплатно Genshin Impact Movement in Unity | #18 - Camera Horizontal Recentering или скачать в максимальном доступном качестве, видео которое было загружено на ютуб. Для загрузки выберите вариант из формы ниже:
Если кнопки скачивания не
загрузились
НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием видео, пожалуйста напишите в поддержку по адресу внизу
страницы.
Спасибо за использование сервиса ClipSaver.ru
In this video we'll be adding the last feature of our Player Camera: Horizontal Recentering. This feature simply automatically Horizontally Recenters the Camera at a given speed, which also makes it so that the Player moves in a circular motion when enabled. ________________________________________________________ Timestamps: 00:00 What feature was missing in the Camera? 02:19 How will we save the settings values? 03:01 Creating the Recentering Data Script 05:06 Creating the Recentering Data Lists 05:54 Setting the Recentering Data Values 07:05 Adding default values in the Virtual Camera 07:34 Creating the Player Camera Utility Script 08:20 Updating the Player Camera Utility Script 12:27 Adding the Player Camera Utility to the Player Script 13:14 Referencing the Virtual Camera in the Inspector 13:32 Creating the Reusable Enable and Disable Camera Recentering Methods 15:12 Creating the Update Camera Recentering State Method 15:44 Creating the On Movement Canceled Method 16:52 Checking for No Movement 17:09 Checking for Forwards Movement 17:34 Checking for Backwards Movement 20:49 Creating the Set Camera Recentering State Method 21:55 Checking for Sideways Movement 22:30 Calling in the Update Camera Recentering State Method 25:53 First Problem: Different Speeds have different Rotations even with the same Settings 29:36 Second Problem: Recentering State isn't Updated when Changing States 32:20 Third Problem: Recentering State isn't Updated when Entering or Exiting Slopes 33:56 Fourth Problem: Recentering Stops when Movement is Canceled on Jump 37:49 Fifth Problem: Walking & Idling States have a different Recentering Time when looking Down ________________________________________________________ Useful Links: ● GitHub Repository: https://github.com/Wafflus/unity-gens... ● Tutorial Series (Youtube Link): • Genshin Impact Movement in Unity | #0 - Ov... ● New Input System (Unity Documentation): https://docs.unity3d.com/Packages/com... ● Cinemachine (Unity Documentation): https://docs.unity3d.com/Packages/com... ● Virtual Camera (Unity Documentation): https://docs.unity3d.com/Packages/com... ● POV Aim (Unity Documentation): https://docs.unity3d.com/Packages/com... ● Animation Curves (Unity Documentation): https://docs.unity3d.com/Manual/anime... ● Cancel Recentering (Unity Documentation): https://docs.unity3d.com/Packages/com... ● Header Attribute (Unity Documentation): https://docs.unity3d.com/ScriptRefere... ● Vector2 (Unity Documentation): https://docs.unity3d.com/ScriptRefere... ● Transform Euler Angles (Unity Documentation): https://docs.unity3d.com/ScriptRefere... ● Mathf.Abs (Unity Documentation): https://docs.unity3d.com/ScriptRefere... ● foreach (C# Documentation): https://docs.microsoft.com/en-us/dotn... ● Serializable (Unity Documentation): https://docs.unity3d.com/ScriptRefere... ● SerializeField (Unity Documentation): https://docs.unity3d.com/ScriptRefere... ● Properties (C# Documentation): https://docs.microsoft.com/en-us/dotn... ● Rule of 3: Direct and Inverse (Smartick Website): https://www.smartick.com/blog/math/ru... ________________________________________________________ ● Subscribe: https://www.youtube.com/c/IndieWafflu... ● Follow me on Twitter: / indiewafflus ________________________________________________________