Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Проблем TwoBone Locked

A topic by VadimBernhardt created Mar 12, 2021 Views: 214 Replies: 9
This topic was locked by TwistedTwigleg Jun 18, 2021

Issue fixed - closing topic!

Viewing posts 1 to 3
(1 edit)

hello problem with two bone, bones are shaking, tell me how to set it up correctly. I want to buy a plugin, but I don't know how to set it up. Thank you
Developer

Hi VadimBernhardt!

In your TwoBoneIK setup, have you added a Spatial-based node to act as a pole? This can greatly increase the stability of TwoBoneIK, especially when close to fully extended. I think that is causing the issue you are seeing, though its hard to say for sure. Can you record a small video showing the problem?

As for the setup, it should be fairly easy: You need to have two Twisted_Bone3D nodes, a Twisted_Skeleton3D, a Twisted_ModifierStack3D, and finally a Twisted_ModifierTwoBoneIK3D. In the Twisted_ModifierTwoBoneIK3D node, you can look in the properties and assign the two Twisted_Bone3D nodes to the first and second bone slots. Then, you can set a target node and an optional pole node, then when the modifier stack is executing it should rotate the bones to point at the target.

One thing to look out for though is making sure the tip/second Twisted_Bone3D node has a proper length setup. If the second Twisted_Bone3D node does not have a child Twisted_Bone3D, you will likely need to set the bone length manually. You can do this by selected the Twisted_Bone3D node in the inspector, disabling "auto calculate bone length" and then manually inputting in the length of the bone in the bone length filed that should then be visible.

The example development project has a working example of TwoBoneIK in use that may also be helpful as a reference.

Thanks for reaching out and please let me know if you are still having problems! I'm sure we can figure out what is going on and find a solution :)

Deleted 3 years ago

Взаимодействие с другими людьми
Developer

Awesome, thank you for the video! Now I can see the issue.

Does the left_leg Twisted_Bone3D node have a length set? Watching the video, I think that is what is causing the issue and would explain the behavior shown. If you could check and let me know, that would be much appreciated!

Взаимодействие с другими людьми

Да, длина установлена, а затем я устанавливаю дочернюю кость для left_leg. Кости повернуты неправильно
Developer (1 edit)

Hmm, I’m not sure right off. Something is definitely wrong as it’s not supposed to be working like that. The TwoBoneIk scene in the example project works on your machine, right? Just wanting to make sure in case it’s something OS specific (I doubt it, but never hurts to cover all bases)

If possible, can you send me the project and/or a minimum replication project? If you want, you can send it to my email: clanbn@hotmail.com

Edit: changed the tag to “bug report”, as there is a bug of some sort happening.

(1 edit)

I sent a project,on my PC OS Windows 10
Developer

Thanks! I’ll download and take a look at it soon :)

Developer

I sent an email with a link to the project with TwoBoneIK working. :)

For anyone looking at this post in the future: The issue was just that the second bone, the lower leg, didn't have its length properly set. I just added another bone as the child of the lower leg and set the bone ID to the foot, then it worked as expected.

one more video

Developer locked this topic