Third episode of this new serie, we gonna rotate the camera around the player using the joystick of a controller. Next episode will come next week! Like & Subscribe :)
Asset available here: https://jeanmakesgames.itch.io/3d-rpg... (credit me if you are using it)
Importing 3d assets doc on Godot (good to know!): https://docs.godotengine.org/en/stabl...
Udemy Course: (this is the best way to support my work)
Create a procedurally generated 2D Roguelike in Godot 4:
Course: https://www.udemy.com/course/create-a...
Coupon code: LEARNGODOT4MARCH
Create a 2D RPG and a 3D game in godot 4:
Course: https://www.udemy.com/course/create-a...
Coupon code: LEARNGODOTMARCH
Learn Godot 4 by making 2 games:
Course: https://www.udemy.com/course/learn-go...
Coupon Code: LEARNGODOT4MARCH
Cours en Français: Créer un RPG en 2D avec Godot 4: (course in French)
Cours: https://www.udemy.com/course/creer-un...
Coupon code: APPRENDREGODOT2024
Timeline:
00:00 Introduction
00:53 Resetting camera position and parenting
01:34 Creating a camera gimbal
02:02 Attaching my camera to my camera gimbal
02:16 Adjusting the position of my camera
02:44 Explaining how I want my camera to rotate
03:21 Attaching a script to my cam_gimbal
04:04 Creating input for moving the camera
05:08 Assigning my input to my controller
05:54 Coding the movement of the camera
08:41 Testing the camera movement
09:37 Adjusting the direction of the player to the rotation of the camera
11:54 Testing the new code
Смотрите видео 3D RPG - Rotating the camera around the player with a controller онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Jean Makes Games 12 Октябрь 2023, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 5,561 раз и оно понравилось 150 людям.