Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ik rig constraint solver setup issue #10

Closed
AchimTuran opened this issue Jul 18, 2022 · 5 comments
Closed

ik rig constraint solver setup issue #10

AchimTuran opened this issue Jul 18, 2022 · 5 comments
Assignees
Labels
help wanted Extra attention is needed

Comments

@AchimTuran
Copy link
Member

How i get this working ik bone [Tested not in Real Project]
workinginIKRIG
s

Download https://github.com/tuatec/TTToolbox/files/9116670/TTToolbox_v0.4_UE5.0.0_win64_4.zip plugin
Add C++ Support made class of c++
Build Project
Open Skeleton of Meta-human and create a Virtual bone Root only for avoid crash engine.
Create Unweighted Bones
Create Virtual Bone
First Follow the Video for
https://www.youtube.com/watch?v=8WnbbtxqCCw&list=PLslFX7TZAr89enRHIfJwUJJ_hJV8wX_8v&index=4
https://www.youtube.com/watch?v=DEpwDjWY2wI&list=PLslFX7TZAr89enRHIfJwUJJ_hJV8wX_8v&index=5

Create New IK Rig of Metahuman and create a New Bone Chain
Delete The followed IK Bones chains
Not delete Head Chain
only IK bones chains be deleted
canideletethis

((ConstraintBone="root",ModifiedBone="ik_foot_root"),
(ConstraintBone="foot_l",ModifiedBone="ik_foot_l"),
(ConstraintBone="foot_r",ModifiedBone="ik_foot_r"),
(ConstraintBone="root",ModifiedBone="ik_hand_root"),
(ConstraintBone="hand_r",ModifiedBone="ik_hand_gun"),
(ConstraintBone="hand_r",ModifiedBone="ik_hand_r"),
(ConstraintBone="hand_l",ModifiedBone="ik_hand_l"),
(ConstraintBone="ik_foot_l",ModifiedBone="VB ik_foot_l_Offset"),
(ConstraintBone="ik_foot_r",ModifiedBone="VB ik_foot_r_Offset"),
(ConstraintBone="ik_hand_gun",ModifiedBone="VB RHS_ik_hand_gun"),
(ConstraintBone="ik_hand_gun",ModifiedBone="VB LHS_ik_hand_gun"),
(ConstraintBone="hand_l",ModifiedBone="VB RHS_ik_hand_l"),
(ConstraintBone="hand_r",ModifiedBone="VB LHS_ik_hand_r"),
(ConstraintBone="calf_l",ModifiedBone="VB ik_knee_target_l"),
(ConstraintBone="calf_r",ModifiedBone="VB ik_knee_target_r"),
(ConstraintBone="root",ModifiedBone="VB Curves"),
(ConstraintBone="ik_foot_l",ModifiedBone="VB foot_target_l"),
(ConstraintBone="ik_foot_r",ModifiedBone="VB **foot_target_r"))
**

Final Result

workinginIKRIG

@AchimTuran
Copy link
Member Author

@lakkyhb
Please let us use this issue to resolve your not working setup.

I don't like to mix feature development with issue reporting/analyzing and fixing.

@AchimTuran
Copy link
Member Author

AchimTuran commented Jul 18, 2022

I do have the following questions:

  1. Did you follow this video? https://youtu.be/DEpwDjWY2wI that's how I setup the constraint solver.
  2. ik bone chains need to be deleted, as we handle them with the solver, this did not work?
  3. Did you close and reopen the ik rig asset? As we have seen in the video somehow Unreal Engine does not update the settings properly ...

@AchimTuran AchimTuran self-assigned this Jul 18, 2022
@AchimTuran AchimTuran added the help wanted Extra attention is needed label Jul 18, 2022
@AchimTuran
Copy link
Member Author

Open Skeleton of Meta-human and create a Virtual bone Root only for avoid crash engine.
This step should not be needed anyore, as I reworked the code a little bit and made it more stable.

@AchimTuran
Copy link
Member Author

It seems to be that the bone constraint string is not correct, see
grafik

((ConstraintBone="root",ModifiedBone="ik_foot_root"),(ConstraintBone="foot_l",ModifiedBone="ik_foot_l"),(ConstraintBone="foot_r",ModifiedBone="ik_foot_r"),(ConstraintBone="root",ModifiedBone="ik_hand_root"),(ConstraintBone="hand_r",ModifiedBone="ik_hand_gun"),(ConstraintBone="hand_r",ModifiedBone="ik_hand_r"),(ConstraintBone="hand_l",ModifiedBone="ik_hand_l"),(ConstraintBone="ik_foot_l",ModifiedBone="VB ik_foot_l_Offset"),(ConstraintBone="ik_foot_r",ModifiedBone="VB ik_foot_r_Offset"),(ConstraintBone="ik_hand_gun",ModifiedBone="VB RHS_ik_hand_gun"),(ConstraintBone="ik_hand_gun",ModifiedBone="VB LHS_ik_hand_gun"),(ConstraintBone="Hand_L",ModifiedBone="VB RHS_ik_hand_l"),(ConstraintBone="hand_r",ModifiedBone="VB LHS_ik_hand_r"),(ConstraintBone="calf_l",ModifiedBone="VB ik_knee_target_l"),(ConstraintBone="calf_r",ModifiedBone="VB ik_knee_target_r"),(ConstraintBone="root",ModifiedBone="VB Curves"),(ConstraintBone="ik_foot_l",ModifiedBone="VB foot_target_l"),(ConstraintBone="ik_foot_r",ModifiedBone="VB foot_target_r"))

@AchimTuran
Copy link
Member Author

For me the issue is solved. If you still have issues feel free to reopen and we can have a look at it again. 😉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant