Тёмный
No video :(

Realistic Legs in Godot - IK Legs Tutorial (godot 3.X) 

Leon Stansfield
Подписаться 5 тыс.
Просмотров 33 тыс.
50% 1

Godot Leg Inverse kinematics (IK) tutorial!
Make legs similar to those in AAA games like Breath of the wild and elden ring in your godot project in less than 10 minutes!
This is a godot 3D tutorial devlog for my indie game breath of the wild in Godot combat system tutorial how much money did my indie game make!? it is a game made by 1 person - a solo devlog! This indie game unity devlog is a unity 3D tutorial devlog. Godot.
Any problems or suggestions comment and I will try to help!
Source code:
github.com/Leo...
Follow me on Twitter:
/ leonstansfield0
And check out the game on Itch.io:
leon-stansfiel...
Don't forget to like and subscribe if you liked the video!
www.youtube.co....

Опубликовано:

 

23 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 37   
@TonyHamone
@TonyHamone 6 месяцев назад
5:48 It's crazy that you just silently fast forward past the most confusing part, thanks bro.
@_ByteBlaze_
@_ByteBlaze_ 2 месяца назад
I haven't tested this myself, so this is mostly just theory, but I think you could probably just do this for IK: BoneAttachment3D for your lower leg/calf, put the RayCast3D here, and move it so the top of the raycast starts at the knee. BoneAttachment3D for your feet. Put Node3D here for tracking foot positioning Do the regular other stuff for the IK, but when you are doing the raycast to move the IK's target node, have it check the hit point of the raycast, get the hit point's distance from the raycast origin, compare it to the distance between the raycast origin and the foot's global position (this is why we add the tracker with an attachment). If the raycast to hit point distance is greater than raycast to foot distance, we don't need to move the foot because it wouldn't intersect with anything. In the case we don't hit anything, set the IK interpolation to 0. If we do, set it to 1. You probably don't need this now, but I figure at the very least it might inspire someone else who comes across my comment to try it and maybe it works more easily
@yaltipolous
@yaltipolous 21 день назад
You're welcome
@igorigor3960
@igorigor3960 2 года назад
finally, An IK legs tutorial.
@amorpilo9666
@amorpilo9666 2 года назад
That "function that they use" rotates the foot so it follows the floor slope angle.
@leonstansfield
@leonstansfield 2 года назад
I did figure that out eventually, but...quite frankly it didnt work and was not explained at all :P
@bodamat
@bodamat 2 года назад
Great tutorial and good explained. Thanks!
@leonstansfield
@leonstansfield 2 года назад
Glad it was helpful!
@NekotoArts
@NekotoArts 2 года назад
0:06 Leon trying not to expose himself
@leonstansfield
@leonstansfield 2 года назад
😳😳😳
@gamemakersgear1611
@gamemakersgear1611 2 года назад
0:05 "godamm those are some nice legs" what did he sayyyy?😳😳😳 jokes aside woah,youv improved so much in godot!,keep up the channel mate!
@leonstansfield
@leonstansfield 2 года назад
Lmaoo thanks man
@gamemakersgear1611
@gamemakersgear1611 2 года назад
@@leonstansfield lol, no problem!
@rubixkyoob2
@rubixkyoob2 2 года назад
Love your tutorials. Very helpful and informative!
@Bravo_0-7
@Bravo_0-7 11 месяцев назад
"god damn, those are some nice legs" got me ngl
@lismith5733
@lismith5733 Год назад
Good IK Legs Tutorial
@Gabirell
@Gabirell Год назад
Wow! Just was I was looking for. Thx!
@Lucas-gg9yb
@Lucas-gg9yb 2 года назад
nice! keep the good work! make a tutorial but now with the arms, when the character climb or hold a wall
@pancelalkov2070
@pancelalkov2070 2 месяца назад
Please explain how to properly setup the bones and also what you are doing exactly at 5:50 ?
@charleslamb6500
@charleslamb6500 2 года назад
Can one make a system, where player aims more realistically, say with a laser - weapon . . So, player twists torso, towards a target, while aiming, and, start turning entire body, after some angle . . . Don't really need it, for some cool project, it'd be nice to know the theory, etc . . .
@DemsW
@DemsW 2 года назад
as you saw here, the target's rotation affects the model rotation depending on which bones you selected, so you could probably point the target towards where you're aiming and it would maybe work with some tweaking
@leonstansfield
@leonstansfield 2 года назад
It's definitely possible, but I'm probably not going to make that tutorial :P
@dinkleburg43
@dinkleburg43 8 месяцев назад
I have been working on this exact thing for weeks for my TPS game. not there yet, but it seems there are 2 solutions- 1. (The right way) Really, really go in depth with blender and set up custom IK for EVERYTHING in your skeleton. build a system for modular hand placement and rigging so that you can have different items that still look natural. This will require a lottttt of setup and know-how within blender. 2. (The quick way) Use scripting to change the position properties of the IK target, set it to change various things in relation to the player's and the camera's position/orientation. Properties like position/rotation /must/ be changed separately. You cannot use bone attachments for this method, as it causes circular dependencies and messes with your scale. Then you're in hell. This can work and is what I have come down to, as I am not really the blender guru... I have a strong feeling it will come back to bite me and cause a lot of extra work for adding additional weapons. good luck cause I've been searching for a long time. I don't think that tutorial exists...
@jovlem
@jovlem 11 месяцев назад
Is it possible to create and animate the target and the interpolations indside Blender? That way each time you need to re-export your character, you dont need to re-create these.
@akitaropiquet7580
@akitaropiquet7580 8 месяцев назад
best intro ever ^^
@novemberdev8292
@novemberdev8292 2 года назад
Amazin lets goooooo
@Jasonsumm
@Jasonsumm 2 года назад
Great tutorial! Seems ilke your source code isn't updated. Keep up the amazing work!
@leonstansfield
@leonstansfield 2 года назад
Hmm I just checked my repo and it is updated... It's not the same as the recording so some names are different but other than that it's the same. (Eg, the IK script is named 'animation' in the repo)
@Jasonsumm
@Jasonsumm 2 года назад
@@leonstansfield when I ran it the walking anim seemed to not be working…could just be me
@RPGgrenade
@RPGgrenade 6 месяцев назад
I think I misunderstood the most important part... the animation interpolation bit. What...?
@kimmiek3763
@kimmiek3763 2 года назад
Linux plus open source gang
@jackeliot4497
@jackeliot4497 2 года назад
Could you make a tutorial on how to make a third person script like the one you used in this tutorial devoid of Ik stuff
@leonstansfield
@leonstansfield 2 года назад
I probably won't do this as there is already a bunch out there and I have limited time for game Dev, but I recommend and use a modified version of this code: github.com/GarbajYT/godot_updated_fps_controller/blob/main/FPS_controller_4.0/FPS.gd
@foixa
@foixa Месяц назад
Can you port it to Godot 4.2.2 stable version?
@ahero9249
@ahero9249 7 месяцев назад
Godot 4 please
@simonw.1223
@simonw.1223 9 месяцев назад
how do I know all this stuff.
@BrunoJuncklaus
@BrunoJuncklaus 2 месяца назад
you lost me on bezier
Далее
Simple Flower Syrup @SpicyMoustache
00:32
Просмотров 2 млн
Optimizing my Game so it Runs on a Potato
19:02
Просмотров 552 тыс.
Giving Personality to Procedural Animations using Math
15:30
How to ACTUALLY get into Gamedev
14:01
Просмотров 717 тыс.
10+1 INCREDIBLE addons for Godot 4
8:28
Просмотров 30 тыс.
How to Make Pixel Art Tilesets
9:15
Просмотров 17 тыс.
I Made the Same Game in 8 Engines
12:34
Просмотров 4 млн
These awesome 3D games are made in Godot
5:40
Просмотров 115 тыс.