Godot 4: Importing 3D Models
Key Takeaways
This video teaches how to import and setup 3D models in Godot 4
Full Transcript
welcome back to gdau recipes in this video we're going to be talking about how to import 3D assets into your gdau project for this demo we're going to use some art packs from K on itch.io and specifically we're going to use the dungeon remastered and the adventures character pack and these are just fantastic they're all really well done and the adventures pack you know has multiple characters and a ridiculous number of animations uh for each of them so this will be a really good example of how to get all sorts of different kinds of assets into good so download both of these and then we'll drag those into our project now the first thing you're going to notice when you unzip all of these is that there are multiple versions of all the files and we want to make sure we use the ones that are most compatible with good which are going to be the gltf versions and so in the adventures pack we're going to drag this character items folder the characters folder and then from the dungeon remasters we're going to grab the gltf folder and I drag those all three of those into my project folder here in my new good project and make sure that you give it a little time because there are a lot of files in these folders good is going to take a few seconds to scan through them all all right let's start with the characters and if you select the Knight here and look at the import tab you're going to see some of the basic import settings that we can change for this particular scene but I'm going to go ahead and click on Advanced here to pop up this window which gives us a lot more access to what's in the character and what we can do with it when we import it on the left you're going to see all the nodes that are going to be imported when we when we use this so there's a a whole bunch of meshes in here there's a skeleton with the rig and here you can see all the animations and the first thing I'm going to do is go over here to the root type and we're going to change this to character body 3D so that's the node type we're going to want our character to be when we use it and then I'm also going to go look at some of these animations so for example let's go find the idle animation and in the idle animation you want to make sure we want this animation to be looping when it's imported so you're going to need to go over here and pick linear it's going to be set to none I've already done it with this one set this to so that when it Imports it will automatically be a looping animation and some of them we want to do that like attacks we would want to only play once but idle the walking animations the running animations and the various idle animations we're going to want to set to looping so go ahead and do that with each of them and then click repport and you'll be good to go all right what about the dungeon items so down here here in the dungeon pack there are a huge number of files and it's kind of hard to just scroll through them I'm going to go ahead and put wall here in the filter so we can find the plain wall object and look at its import settings now the thing about the walls is we want them to be solid objects that we can't walk through and so we want to add Collision to these and it would be really tedious to go to each one and add a uh create it then add a static body then add a collision shape and so we can do this on import if we click on the mesh here we can say turn on physics and then it'll automatically choose static here we want it to be a static body and then we can choose how we want the Collision to be created to so like tresh we'll use the mesh itself to create the Collision which for this one isn't really all that necessary we don't care about these little bumps and everything uh so the simple convex is probably fine which just does an outline or you can use decompose convex which tries to make one uh you know with as few pieces as possible for this particular one it doesn't matter for different ones you'll need to look at what Collision shape works best for what that object's going to be but set that and click reimport all right so now once you've imported the scenes that you want let's go back to the Knight here and if you right click on it and say new inherited scene you'll get a new scene with this root character body 3D like we chose and underneath all of the nodes that came in from the glb file uh now one thing you'll notice is hands are kind of full because the artist has gone ahead and included all the different weapons and shields rigged and attached at the right place places so they'll work with the animations which is great and you can just go along and hide uh the ones you don't want so there I'm just leaving the one-handed Sword and the round shield and down here you'll see the animation player where you can sort of go and look at all the animations in individually and play them and see what they look like there's a a attack there's a block holds up the shield right you can play around with these and make sure they all look good and figure out which ones you want to use for your game notice idle here is in looping mode so when I play this that animation is going to just keep repeating and that's it once we've got our character imported the way we want it and we've imported all of the dungeon items we want that we can start building our dungeon with we're ready to start working on the game and we'll tackle that in the next part thanks for watching and I'll see you in the next one please don't forget to like the video and hit that subscribe button so you'll get notified as soon as the next video is released you can find this in many other goodto recipes tutorials examples and tips at good recipes.com don't forget to like And subscribe on YouTube to get the latest video tutorials and if you'd like to help support these efforts please consider clicking the patreon link thanks
Original Description
In this series of videos, we look at how to import, setup, and use 3D models in Godot, whether you downloaded them or created them yourself.
You can download the art packs we're using from Kay Lousberg at itch.io:
https://kaylousberg.itch.io/
Text version and link to code:
https://kidscancode.org/godot_recipes/4.x/3d/assets/importing_assets/
Want to learn Godot 4? Check out my new book, Godot 4 Game Development Projects.
Available now! https://amzn.to/3qcOZ4E
Support me on Patreon: https://www.patreon.com/kidscancode
Watch on YouTube ↗
(saves to browser)
Sign in to unlock AI tutor explanation · ⚡30
Playlist
Uploads from KidsCanCode · KidsCanCode · 0 of 60
← Previous
Next →
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
Learning to Code with Python: Lesson 1.1 - What is Programming?
KidsCanCode
Learning to Code with Python: Lesson 1.2 - Drawing with Turtles
KidsCanCode
Learning to Code with Python: Lesson 1.3 - Variables
KidsCanCode
Learning to Code with Python: Lesson 1.4 - Loops (and more turtles!)
KidsCanCode
Learning to Code with Python: Lesson 1.5 - Saving and Running Programs
KidsCanCode
Learning to Code with Python: Lesson 1.6 - Functions
KidsCanCode
Learning to Code with Python: Lesson 1.7 - Input and Conditional Statements
KidsCanCode
Learning to Code with Python: Lesson 1.8 - Number Guessing Game
KidsCanCode
KidsCanCode - Patreon Intro Video
KidsCanCode
Learning to Code with Python: Lesson 1.9 - Rock Paper Scissors Game
KidsCanCode
Learning to Code with Python: Lesson 1.10 - Secret Codes
KidsCanCode
Learning to Code with Python: Lesson 2.1 Creating Computer Graphics
KidsCanCode
Learning to Code with Python: Lesson 2.2 Simple Animation
KidsCanCode
Learning to Code with Python: Lesson 2.3: Animating More Objects
KidsCanCode
Learning to Code with Python: Lesson 2.4: More Fun with Animation
KidsCanCode
Extra: Setting up the Atom Editor for Python
KidsCanCode
Game Development 1-1: Getting Started with Pygame
KidsCanCode
Game Development 1-2: Working with Sprites
KidsCanCode
Game Development 1-3: More About Sprites
KidsCanCode
Pygame Shmup Part 1: Player Sprite and Controls
KidsCanCode
Pygame Shmup Part 2: Enemy Sprites
KidsCanCode
Pygame Shmup Part 3: Collisions (and Bullets!)
KidsCanCode
Pygame Shmup Part 4: Adding Graphics
KidsCanCode
Pygame Shmup Part 5: Improved Collisions
KidsCanCode
Pygame Shmup Part 6: Sprite Animation
KidsCanCode
Pygame Shmup Part 7: Score (and Drawing Text)
KidsCanCode
Pygame Shmup Part 8: Sound and Music
KidsCanCode
Pygame Shmup Part 9: Shields
KidsCanCode
Pygame Shmup Part 10: Explosions
KidsCanCode
Pygame Shmup Part 11: Player Lives
KidsCanCode
Pygame Shmup Part 12: Powerups
KidsCanCode
Pygame Shmup Part 13: Powerups (part 2)
KidsCanCode
Pygame Shmup Part 14: Game Over Screen
KidsCanCode
Pygame Platformer Part 1: Setting Up
KidsCanCode
Pygame Platformer Part 2: Player Movement
KidsCanCode
Pygame Platformer Part 3: Gravity and Platforms
KidsCanCode
Pygame Platformer Part 4: Jumping
KidsCanCode
Pygame Platformer Part 5: Scrolling the Window
KidsCanCode
Pygame Platformer Part 6: Game Over
KidsCanCode
Pygame Platformer Part 7: Splash & End Screens
KidsCanCode
Pygame Platformer Part 8: Saving High Score
KidsCanCode
Pygame Platformer Part 9: Using Spritesheets
KidsCanCode
Pygame Platformer Part 10: Character Animation (part 1)
KidsCanCode
Pygame Platformer Part 11: Character Animation (part 2)
KidsCanCode
Pygame Platformer Part 12: Platform Graphics
KidsCanCode
Pygame Platformer Part 13: Improved Jumping
KidsCanCode
Pygame Platformer Part 14: Sound and Music
KidsCanCode
Pygame Platformer Part 15: Powerups
KidsCanCode
Pygame Platformer Part 16: Enemies
KidsCanCode
Pygame Platformer Part 17: Using Collision Masks
KidsCanCode
Pygame Platformer Part 18: Scrolling Background
KidsCanCode
Pygame Platformer Part 19: Wrapping Up
KidsCanCode
Gamedev In-depth Topics: 4-way vs. 8-way Movement
KidsCanCode
Gamedev In-depth Topics: Time-based vs. Frame-based Movement
KidsCanCode
Gamedev In-depth Topics: Non-integer Movement
KidsCanCode
Tile-based game Part 1: Setting up
KidsCanCode
Tile-based game Part 2: Collisions and Tilemap
KidsCanCode
Tile-based game Part 3: Smooth Movement
KidsCanCode
Tile-based game Part 4: Scrolling Map / Camera
KidsCanCode
Tile-based game Part 5: Player Graphics
KidsCanCode
Related Reads
📰
📰
📰
📰
How Creative Characters Like Sprunki Inspire Kids to Learn Coding
Medium · Programming
Computer Applications for Primary School Children: A Fun + Safe Guide for Ages 6-12
Dev.to · Ogunkola Adeola
From 0 to 20 Chapters: My Story‑Driven Rust Book for Kids Now Has a Bilingual Interactive Demo
Dev.to · born1987-ir
How Kids Can Build Fighting Games Stickman in Scratch
Medium · Programming
🎓
Tutor Explanation
DeepCamp AI