Inverse Kinematics, HingeConstraint - Roblox Scripting Tutorial

Inverse Kinematics, HingeConstraint - Roblox Scripting Tutorial

Suphi Kaner

1 год назад

60,713 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@waks389
@waks389 - 11.03.2023 15:38

I set the Ik control weight to 0.999 but my character still looks at the part when the part is behind the head

Ответить
@jiggersquare
@jiggersquare - 31.03.2023 10:41

when you cant figure out math formulas Suphi Kaner is there to save the day

Ответить
@_tophat
@_tophat - 02.04.2023 12:40

do you know how to make this work with r6? i tried it with r6 and it really didnt work and i dont really know what to do

Ответить
@RealGradient
@RealGradient - 15.04.2023 08:40

Is it possible to create IK for R6?

Ответить
@unifores
@unifores - 30.04.2023 17:51

There's a problem with the part: when a player resets, the part instantiates again and there are 2 parts then. The old parts never get deleted.

Ответить
@sulthan7317
@sulthan7317 - 18.05.2023 15:01

Can anyone help? I can only get the handle to move to the right but cant get it to move to the left so can anyone explain to me?

Ответить
@spacewhat8877
@spacewhat8877 - 25.05.2023 09:47

Do you know how you could set the ik.Enabled to false, in a way that all the clients will see it?

Ответить
@isopodder
@isopodder - 09.06.2023 06:19

i still dont know how this dude types so smoothly :sob:

Ответить
@JPEGArtifact
@JPEGArtifact - 24.06.2023 19:47

I love you

Ответить
@capitainemasque4147
@capitainemasque4147 - 26.06.2023 19:17

Hi Thanks a lot for your Tutorial that s work perfectly, except that theinto IK controller or Characterik script the Weight Set up at 0.999 do not have the same effect on my game than on yours, on my game it did no difference with 1, the guys continue to bend and the part is moving with the head even if the camera do not move, where i am wrong?

Ответить
@JPEGArtifact
@JPEGArtifact - 27.06.2023 11:05

Even though I set the weight to 0.999, my character still looks backwards and it's extremely unnatural

Ответить
@Kevin_Art
@Kevin_Art - 07.07.2023 14:08

my character doesn't give up when i looking to my back, how can i fix this?

Ответить
@zaq1712
@zaq1712 - 13.08.2023 01:43

So after the updated weight, now if one player moves their head, it changes the direction of the other players head. I confirmed it on your studio release from discord. Any idea why?

Ответить
@Panadoraa
@Panadoraa - 17.08.2023 15:49

A Quick Question Why Do We Have To Pass It To The Server Even Tho The Player Has Control Over HumanoidRootPart because of NetworkOwner ?

Ответить
@personperson5292
@personperson5292 - 21.08.2023 20:10

I get "CharacterIKs:9: attempt to index nil with 'UpperTorso'" when I try to run it, and the same happens with the head and humanoid, as if character wasnt defined. I have line 4 the same as you, where character gets put as a variable. Any thoughts? Amazing tutorial

Ответить
@superstorm4228
@superstorm4228 - 24.08.2023 09:50

I checked all the IK properties and they were the same as yours, but for some reason setting weight to .999 didn't stop my character from looking awkwardly under him to look backwards and reset to look forwards.
My best guess is its my characters animations being different from yours?

Ответить
@DavidWinstead
@DavidWinstead - 20.09.2023 23:53

WOW, that's awesome, had no idea you could do this in Roblox!! Thanks for sharing...

Ответить
@thedragonx1057
@thedragonx1057 - 26.09.2023 00:46

Hey, First of all amazing video but i have a small problem, in the character script i did everything right but idk why the weight property doesn't do anything, if i made it 1 or 0.999 it doesn't seem to change anything

Ответить
@MegurRBLX
@MegurRBLX - 16.10.2023 09:18

this is so cool

Ответить
@leguait
@leguait - 16.11.2023 02:11

Players.IhaveBigthor.PlayerScripts.CharacterIKs:43: attempt to perform arithmetic (mul) on nil and number can you pls help me

Ответить
@joaquinalduin
@joaquinalduin - 18.11.2023 04:00

does this work with r6?

Ответить
@sharmanbarbhuiya6162
@sharmanbarbhuiya6162 - 23.11.2023 19:35

Hey man, awesome tutorial. I ran into an error in the CharacterIKs script tho - in line 7 it does not recognize the character variable as it's being passed by nil in line 26. I ran some CharacterAdded:Wait() but it doesn't seem to resolve the issue. Help!

Ответить
@SophiaNhya
@SophiaNhya - 23.11.2023 20:16

This content is like P100, very good, continue with the good content!

Ответить
@nihilia0
@nihilia0 - 19.12.2023 11:21

The weight thing does not work, and it always tries its best to look at it. How do i fix it?

Ответить
@daniellemarie6186
@daniellemarie6186 - 06.01.2024 17:13

I know im probs late but I need help, So basically I want to detect if my player is in a certain radius then the ik control will activate. If anyone knows how that would be greatly appreciated

Ответить
@yyhhttcccyyhhttccc6694
@yyhhttcccyyhhttccc6694 - 11.01.2024 17:24

finally a good tutorial

Ответить
@666thmoab
@666thmoab - 30.01.2024 08:18

How did he just type like that

Ответить
@darkstar76
@darkstar76 - 30.01.2024 16:20

im trying to get this to work with r6 and it looks goofy

Ответить
@Sopharette
@Sopharette - 11.02.2024 05:35

Wow what a brilliant scripter you are! Thank you for this video!

Ответить
@truthdealer1827
@truthdealer1827 - 26.02.2024 06:40

I tried this and me and my friend couldn't see each other's head moving. What's weird is in testing I could see it though, but not on the server viewport, only in each fake player's viewport.

Ответить
@LazyP1nk
@LazyP1nk - 16.03.2024 01:40

Hey, I took this for a reference to make my own player look direction using IKControls and UnreliableRemoteEvents, it works, but for some odd reason if there is more than one player in the server, the camera parts position is just their head's position.
(The client is constantly sending the Camera LookVector to the server btw)

Do you perhaps know any solution?

Ответить
@kingfrogertthethird
@kingfrogertthethird - 02.05.2024 15:09

tysm dude, i wanted to make a copy of "The Future" but it actually gets updated

Ответить
@FEG_Studio
@FEG_Studio - 10.05.2024 10:28

Amazing Video, thank you so much

Ответить
@red_astro
@red_astro - 20.05.2024 19:30

can it work for r6

Ответить
@longthanhboss8237
@longthanhboss8237 - 19.06.2024 16:49

is it the new update ? but my character i use is R6 and it doesn't give up looking when i turn backward with 0.999 weight. i need help

Ответить
@xerfin2themax552
@xerfin2themax552 - 28.06.2024 07:12

I am not sure what I am doing wrong. Everything seems to be working as intended, but even though the weight for the torso turning IK is set to .999, the character is still doing the slow-mo matrix movement. I moved it down to 0.25 before seeing it kind of stop making the drastic movements. For that though, the character barely turns at all.

Ответить
@AngrGrunt
@AngrGrunt - 14.07.2024 10:26

how he write like robot??

-Recapha

Ответить
@idkanymore9942
@idkanymore9942 - 26.07.2024 00:28

Is it possible to make tank tracks using IK? because i suck at math i've been trying for ages to make realistic-looking tank tracks and IK looks promising

Ответить
@oleNikolic
@oleNikolic - 10.08.2024 19:26

Would this be helpful for a mechanic in a game im making? I Need to know how to make the players head rotate to up(max 90 deegres) and when i tried using cframe,the whole character also rotated as the head is connected to the torso.I then tried disabling the players neck, and then the head just falls of the body i think,after that i added a hingeconstraint and the head was connected to the body correctly,and is rotatable,but when the character is bigger the head sometimes glitches,so if there’s a smoother way of rotating the head to up let me know because i really Need it for my game to be smoother.

Ответить
@DrDreadful
@DrDreadful - 11.08.2024 17:24

How could I do this with a skinned mesh?

Ответить
@georgepg3d854
@georgepg3d854 - 14.08.2024 22:14

Hey Suphi, I have a Sword animation in my game and it moves the right upperarm i think, but if i walk while the animation is playing the head starts looking into some directions. Its not too much of a problem since it doesnt move really big amount but its visible so i wanted to ask if you know what could be the cause for this?

Ответить
@IdkaNameyay
@IdkaNameyay - 21.08.2024 17:15

just a comment

Ответить
@SmileVinci
@SmileVinci - 05.09.2024 22:27

Excellent tutorial, everything works fine exept that even tho i put 0.999 in the IKControl Weight, my character still does those weird movements when looking backward. Any ideas ?

Ответить
@5uphi
@5uphi - 26.02.2023 19:18

In the CharacterIKs script on line 15 instead of character.Humanoid.Died:Wait() ik:Destroy() you should use character.Humanoid.Died:Once(function() ik:Destroy() end) this will stop the loop at line 38 from getting blocked

Ответить