-
Notifications
You must be signed in to change notification settings - Fork 34
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
Not working with custom Skelleton #8
Comments
I even tried to migrate the animBP CharPatroller with all its dependencies to my game, but it doesn't works either |
I'm trying to see if I can replicate your issue. Do you see any errors or warnings in the output log? |
LogRTIK: Warning: Could not initialize FAnimNode_RangeLimitedFabrik -- An input wrapper object was null |
But as I could see in you demo, these erros also happen there |
Yes, I see those warnings too (I should probably fix that). That log output looks OK. I just tool a look at CHAR_Patroller, that blueprint is NOT configured to use IK at all! Try one of the characters from the demo scene -- CHAR_RiflePatroller or CHAR_PatrolMannequin. Place one of them on a non-flat surface, and see if the feet IK onto it. |
You were right. I migrated CHAR_PatrolMannequin right now, and it works. But the problem with my custom skelleton persists |
Ok! This is probably a setup issue. First, create a scene with your custom character ONLY. What log output do you see? |
Only this: LogRTIK: Warning: Could not initialize FAnimNode_RangeLimitedFabrik -- An input wrapper object was null |
OK. I'm digging into this to see what the problem could be. Just to confirm, did you set all of the bone references in the 'IK chains' and 'IK bones' variables to bones in your skeleton? Can you send me a screenshot of the Animgraph part of your BP as well? |
Sorry this isn't working for you. I'm not sure how to debug this without looking at your animBP more closely. One thing you could try would be to make a copy of CHAR_PatrolMannequin, and set all the variables to use your bones. My best guess is that something wasn't copied correctly from the original animBP, that might help track down what is different. |
Copied CHAR_PatrolMannequin and only changed the bones variables. Didn't work. Maybe is a problem with my skelleton and the bone's references I'm using. Do you mind taking a look into it? I can send him and a mesh to test. |
Yes, I can take a look. It seems like you're doing everything correctly, so I'm not sure what's wrong. If you email me your skeleton and mesh, I'll see if I can get it to work. My email is [email protected] |
In 4.22, the code does get actor rather than get pawn and the cast fails. Result is that for me the arm ik doesn't work. |
Revisited this issue today and I still can't manage it to work. |
I was able to compile this and get it working on the mac. |
https://github.com/fire/rtik You'll have to wait for the upload, but these are my changes. |
I was also able to compile and run it, the problem is setting up a custom skeleton. With the average Max Pelvis Adjust Height of 60 I could only achieve the feet right rotation on slopes. |
Compiled it for 4.21 with success. The demo works just fine.
I didn't want to migrate all the unnecessary stuff to my project, so I copied the plugin, all the nodes inside the AnimBP, and the variables inside AnimBP and CharacterBP.
I set up all the variables properly, but it isn't working.
Any idea of what it might be?
The text was updated successfully, but these errors were encountered: