No video

Godot Recipe: 3D KinematicBody Movement

  Рет қаралды 25,526

KidsCanCode

KidsCanCode

Күн бұрын

Пікірлер: 51
@debmalyamitra353
@debmalyamitra353 3 жыл бұрын
I had no idea about the Interpolated camera, thanks Mr. Kidscancode!!
@Auguste.Lefort
@Auguste.Lefort 4 жыл бұрын
So cool ! Can you show us how to add an acceleration and deceleration behavior on top of that ? Same thing for the rotation/turn ? That should be very useful !
@boerbol9422
@boerbol9422 2 жыл бұрын
You're such an amazing guy for taking the time to teach others. Bless you man!
@user-th7gd7ge4p
@user-th7gd7ge4p 6 ай бұрын
am I correct to interpret your sounds "t-s-z-d" as the words "this is the"?
@DonLeeelbow667
@DonLeeelbow667 2 жыл бұрын
when I try to set the target for my interpolated camera, I can't expand the mini_tank and select the position3d. I can only select the tank? is there another setting that allows me to expand and see the contents of my tank scene?
@Sir_Daid
@Sir_Daid Жыл бұрын
i am using godot 4 as i am new to the game engine but i had a problem, the kinematic body option doesnt seem to exist, as in when i change the root type of my vehicle there isnt an option for a kinematic body, any way to fix this?
@Kidscancode
@Kidscancode Жыл бұрын
If yo want to use Godot 4, you're going to need to read the Godot 4 docs. Names have changed, and movement functions work a little differently. In Godot 4, the node is named "CharacterBody3D".
@jinsgodottutorial8883
@jinsgodottutorial8883 4 жыл бұрын
great tutorial serials, clear audio, very detailed explanations, thanks for sharing!
@kingstonbeenham6486
@kingstonbeenham6486 3 жыл бұрын
It just says : Interpolated camera has been deprecated and will be removed in Godot 4.0
@alienpolygon6926
@alienpolygon6926 3 жыл бұрын
Does it suggest what to use instead of it? Deprecated means it will no longer be supported in future versions of the software.
@Henry-fj2zf
@Henry-fj2zf 3 жыл бұрын
Thank u first! helps me a lot. One question : When I do this on my character , I need a turn animation if "s" pressed ,
@pascalcasier959
@pascalcasier959 4 жыл бұрын
Thank you so much for all this videos. They helped us a lot. Go on please.
@waylandergaming7539
@waylandergaming7539 2 жыл бұрын
Which script language did you use in this video?
@Kidscancode
@Kidscancode 2 жыл бұрын
GDScript is the default scripting language in Godot.
@loudris442
@loudris442 2 жыл бұрын
My vehicle stops when I try to turn. Can you please help me so it can move and turn at the same time
@dcaucett
@dcaucett 4 жыл бұрын
Excellent video, thank you very much. So much fun to get something going so quickly after looking at a bunch of other tutorials. Keep up great work!
@digitalunity
@digitalunity 2 жыл бұрын
I'll be looking through this in just a few minutes trying to get a flight game off the ground. With any luck, this will work EDIT: Well, this helped with a couple things. I now recognize the existence of Interpolated Camera, which is an absolute Godsend, and I recognize that the issue I'm having currently is that I'm not quite adjusting the vehicle's position in the right way. Interestingly enough, the interpolated camera gave me an idea for interpolated movement using a leader position node... I'll have to see what I can do with it...
@crabbite3093
@crabbite3093 Жыл бұрын
20k views deserved!
@erinkarp
@erinkarp 2 жыл бұрын
The gravity doesn't seem to work?
@user-kh9ri4is7t
@user-kh9ri4is7t 2 жыл бұрын
ماشالا عالی بود
@user-th7gd7ge4p
@user-th7gd7ge4p 6 ай бұрын
teching kids how to roam around a tank and shoot. typically anglosaxon...
@keithpatience1233
@keithpatience1233 3 жыл бұрын
I get misplaced func error line 16
@mystikk3025
@mystikk3025 2 жыл бұрын
error(12,1): Unindented does not match any outer indetation level. it's the ,,get_input()" line of code. Any help? because i can't quite figure this out
@Kidscancode
@Kidscancode 2 жыл бұрын
This is an indentation problem. You likely have an extra space in front of that line, so that it isn't indented correctly.
@Crisisdarkness
@Crisisdarkness 4 жыл бұрын
Wow, great, through more recipes, this could become a version of World of tanks. Excellent class, thanks
@Kidscancode
@Kidscancode 4 жыл бұрын
It's a long way from here to there, but thanks!
@AbanoubNassemMousa
@AbanoubNassemMousa 4 жыл бұрын
a question how did you assign the camera to the position3d of the player , because when I tried doing that , it only see the player not the children of the player ? the only way I can do it via script , not through the editor
@bananaman9869
@bananaman9869 2 жыл бұрын
I put the camera in the player
@sigitsatriap6505
@sigitsatriap6505 4 жыл бұрын
love all of your videos ! your website also very helpful , and easy to understand for beginner like me, could you explain how to use the Virtual Joystik for movement ? my player always move based on its local basis , i dont have any idea how to make its move based on camera basis since most of tutorial use keyboard input, any suggest ?
@yagamilight8431
@yagamilight8431 4 жыл бұрын
Finally the wait is over...
@somedudes6195
@somedudes6195 2 жыл бұрын
Is the website still available?
@ausvalvey7677
@ausvalvey7677 4 жыл бұрын
Hey why didn't you use delta for forward and back?
@Kidscancode
@Kidscancode 4 жыл бұрын
`move_and_slide()` automatically applies delta.
@Pspisripoff
@Pspisripoff 3 жыл бұрын
@kidscancode I had like ten meshes.. i had to import the textures and everything? Was the original file changed or something?
@dominiksulzer1338
@dominiksulzer1338 4 жыл бұрын
Nice video! Just a question, in godot docs and on their forum (godotengine.org/qa/44624/kinematicbody3d-move_and_slide-move_and_collide-different) they are saying that you should not multiply your vector by delta when using move_and_slide, as it does multiply it internally... Well, you multiplied it and in a lot of tutorials they also do it. What is the correct way of doing it?
@Kidscancode
@Kidscancode 4 жыл бұрын
I did not multiply my velocity vector by delta. I did multiply my *gravity* and *rotation* by delta.
@dominiksulzer1338
@dominiksulzer1338 4 жыл бұрын
​@@Kidscancode This is the thing I do not understand. Why are you multiplying gravity by delta? Your input velocity is now (x,y+[gravity×delta],z), but inside function move_and_slide it gets multiplyied by delta, so it becomes (x×delta,×delta,z×delta). So the gravity variable is multiplyied by gravity 2 times, right?
@Kidscancode
@Kidscancode 4 жыл бұрын
Gravity is only ever applied once. In order for gravity to be frame-rate independent (just like velocity), *it* is multiplied by delta. Gravity is an acceleration - m/s^2. You must multiply an acceleration by a timestep to get how much the velocity is *changed* by gravity during that timestep. This is basic physics equations of motion.
@cmds.learning7426
@cmds.learning7426 4 жыл бұрын
Thank youvery much for all this videos!!!!!!!!!!!
@fadedtiger3181
@fadedtiger3181 3 жыл бұрын
Hey! i just found this. Thanks a lot!!
@MusicIslandameer
@MusicIslandameer 4 жыл бұрын
What if you want to move in the "z" axis only
@Kidscancode
@Kidscancode 4 жыл бұрын
Do you mean only forward/back, or only in the global z axis?
@MusicIslandameer
@MusicIslandameer 4 жыл бұрын
@@Kidscancode forward/back
@CanalDoAnPhilos
@CanalDoAnPhilos 3 жыл бұрын
Very good! Thanks
@zikcman
@zikcman 4 жыл бұрын
Excellent
@hellcat553
@hellcat553 4 жыл бұрын
Cqn u make a video about mindustry pls That game use hjson json and script too make a mod U gotta look first if you look impressed
@bobly3441
@bobly3441 3 жыл бұрын
good tutorial
@kingstonbeenham6486
@kingstonbeenham6486 3 жыл бұрын
I was the 300th like
Godot Recipe: 3D KinematicBody: Align with terrain
15:48
KidsCanCode
Рет қаралды 15 М.
Godot Recipe: Multitarget Camera2D
9:16
KidsCanCode
Рет қаралды 10 М.
Секрет фокусника! #shorts
00:15
Роман Magic
Рет қаралды 61 МЛН
Whoa
01:00
Justin Flom
Рет қаралды 54 МЛН
Angry Sigma Dog 🤣🤣 Aayush #momson #memes #funny #comedy
00:16
ASquare Crew
Рет қаралды 46 МЛН
What will he say ? 😱 #smarthome #cleaning #homecleaning #gadgets
01:00
Godot 3.1: 3D Camera Gimbal
15:55
KidsCanCode
Рет қаралды 28 М.
Open World Environment Lighting In Godot 3 Tutorial
26:47
Tokisan Games
Рет қаралды 63 М.
Godot Recipe: Minimap UI
22:51
KidsCanCode
Рет қаралды 30 М.
Third Person Game From Scratch with Godot P1 : Character
21:41
How to light a 3d scene in Godot (3d tutorial)
14:24
GDQuest
Рет қаралды 48 М.
Godot Recipes: Animation States
10:31
KidsCanCode
Рет қаралды 106 М.
3D Movement in Godot in Only 6 Minutes
6:11
GDQuest
Рет қаралды 309 М.
Third Person Character Controller in Godot 3.2
29:09
Code with Tom
Рет қаралды 45 М.
How You Can Easily Make Your Code Simpler in Godot 4
6:59
Bitlytic
Рет қаралды 417 М.
Godot Engine 3d Character Movement
6:19
Jayanam
Рет қаралды 77 М.
Секрет фокусника! #shorts
00:15
Роман Magic
Рет қаралды 61 МЛН