Jumping and falling in 3D with animation & state machine || 3D RPG Serie in Godot 4.2
#godot4 #godotengine #godot3d #3drpg #godot3drpg
4th episode of this 3D RPG serie in Godot 4.2, we gonna create a state machine, coding the right animation, creating a falling animation and setting up the blend time so our animation display smoothly.
*Asset available here*:
https://jeanmakesgames.itch.io/3d-rpg-asset (credit me if you are using it)
*Importing 3d assets doc on Godot (good to know!):* https://docs.godotengine.org/en/stable/tutorials/assets_pipeline/importing_scenes.html
*Udemy Course:* (this is the best way to support my work)
*My godot engine 4 course:*
https://www.udemy.com/course/learn-godot-4-by-making-a-2d-game/?
*Create a 2d platformer / metroidvania in godot engine 3:*
https://www.udemy.com/course/create-a-2d-platformer-game-with-godot-engine/?
*Create a 2d rpg with godot engine 3:*
https://www.udemy.com/course/create-a-2d-rpg-with-the-godot-engine/?
Timeline:
00:00 Introduction
00:48 Changes I've made between video
02:10 What is a state machine?
02:36 Creating the enumerator
05:16 Using the state machine
10:12 Resetting the state after we jumped
13:51 Making the code more precise
15:18 Creating our fallin animation
19:40 Calling the fall animation through code
20:18 Blend time for creating transition between animations
21:20 Outro