Godot 3.1: Creating a Simple 3D Game: Part 3 (Importing from Blender, Rolling & Keys) #GodotEngine

preview_player
Показать описание
Thanks for watching! In this Godot Game Engine tutorial I cover:
- How to export from Blender 2.8 to Godot using the new .GLTF 2 file format. (1:56)
- How to create materials for 3D meshes in Godot and adjust their Albedo (color) property.(16:10)
- How to program the rolling of the ball player mesh in gdscript. (19:11)
- How to change the key mapping of the game controls ('actions') to letter keys: W, A, S, and D. (27:44)

Thanks for watching, and don't forget to Like & Subscribe to help the channel! =)

*****************

****************

Nicolas from the band 'the Lazy Saviours' created my Intro Jingle! Check out his band's album here:

Lazy Saviours' Album:

****************

**********************************

Visit my Godot 3 Tutorial Series playlist for all my Godot tutorials!

Visit my Blender 2.8 Tutorial Series playlist:

Visit my Blender 2.7 Tutorial Series playlist:

Also check out my Blender Game Engine Basics Series playlist:

My Blender Video Effects Playlist:

Рекомендации по теме
Комментарии
Автор

The more I learn about Godot the more I'm impressed about how dynamic and organized it is.

mikewest
Автор

Great tutorial! :) Highly recommended.
I was a bit annoyed that the diagonal speed was higher, so added these lines at the end of the function func _physics_process(delta):

if or and or

velocity = velocity.normalized()
velocity *= SPEED
move_and_slide(velocity)

joel
Автор

Whenever I watch tutorial videos, I always expect to learn one thing simply in the scope of the tutorial. However with these tutorials, they are PERFECTLY on point with what I plan doing with Godot to the point that it becomes spooky!

This video is 3+ years old and it still perfectly strikes what I need, thank you!

_perovskia
Автор

Just FYI: You don't need a separate constant for the speed of rotation. Since the ball is 1 unit in radius, it will roll 1 radian every time it moves 1 unit. So you can just base the rotation off the velocity vector. (Although one complication is that move_and_slide uses the delta variable automatically, but the rotate methods don't, so you have to do it yourself.)
Just add:
* delta)
* delta)
to the bottom of your script and the rotation will always work out perfectly, no matter how you change your speed or whatever.

HiddenWindshield
Автор

Great Tutorials and Great video !
Thank you so much for your hard work !

If Anyone is interested, I found (at my very humble level) a simple way to make the ball mesh rotate more "naturally" relative to the player speed .
I don't know if BornCG will tackle that is a later video (if so I'll remove this comment).


Basically you want to remove the lines associated to the rotation and just place a the top of the _physics_process(delta) function two line that associates the rotation with the velocity associated.
In plain code you would have :






That way the ball will rotate at the same speed as the body is moving, so when you stop and the inertia of the lerp keeps the ball moving, it will keep on rotating slower and slower until the body stops.


Hopes it helps someone !
Cheers !!!


Cheers !

Bananeisafree
Автор

Ohhh!! Finally 3d tutorials for godot!
Found this on reddit a couple seconds ago.
Upvoted there too.
*Instant subscribe, bell notification.*

Imma fully watch this after i finish this current tutorial playlist i'm on.

noiJadisCailleach
Автор

Dude thank you for making these! :) you teach things in a super clear way. Looking to get into this engine and your tutorials are way better than many of the paid ones, so least i can do is subscribe and like every video! Keep up the great work.

sergiosuarez
Автор

I'm so glad I found this series and this channel. Godot and Blender 2.8 look like what I've always wanted as a game dev and I'm learning them effortlessly thanks to you. You're a great teacher.


Also 24:05 "in some countries" lol burn

richardeadon
Автор

Great series !
hope in future to get deeper into game creation in GODOT of curse !

yakoublat
Автор

Write

and


at the end of each else statement

mikewest
Автор

You are an amazing teaher I went from not knowing how to doing anything in godot to knowing how to mess with meshes and coding in the native language GDscript, I am lucky to have found such a gem, it also helps that GDscript is simlar to python as I did some python coding in school, but you break it down better than anyone could thank you!

StupidStuart
Автор

This is a really good tutorial series so far, even years later

digbythedog
Автор

You have created a really helpful series of tutorials, I truly appreciate the time engaged, effort taken and planning done for creating these videos, thanks for making them. 👍🙂

JayeshSarvaiya
Автор

The Best Godot Tutorial Series So far on Youtube. Absolutely super!

farazsharif
Автор

just wanted to drop this in - your enthusiasm is really motivating and these tutorials are amazing, you remind me of brackeys but i prefer your way of teaching :)

logicalapple_
Автор

I haven't seen one of your videos in such a long time! Great to have you back!

sauraavjayrajh
Автор

I've been watching your first 2 tutorials now and it is a great help


thanks man keep it up please

anavrindlouw
Автор

Your tutorials are the best! Even thougth I knew some little things about godot I can now understand everything better!👍

kostasnaoum
Автор

Before: Aw man godot is too hard, I can't even master 2d!
After this: *I am god*

Puff
Автор

Your tutorials are amazing man ! Thanks a lot!

grisa