0 votes
asked in General Help by

Hi,

First sorry for my english, it's not my native language.

I have currently a little problem with my Ragdoll character using PuppetMaster.
I have a script who dynamically create a fixed joint between the hand and any rigidbody objects in my scene.

A video is better than 1000 words: https://1drv.ms/v/s!Aqf3E5VlhO5yhTDogGpSulSmSze9

Well, when I click LMB, the hands can grab any objects. The wall in the video is in kinematic, I grab it but I was expected that my ragdoll cannot move after that, conversely I can continue to move and the result is that the fixed joint "glitch".

I don't understand that behavior. Do you have any advice for me?
Is PM the problem? My actual puppet's configuration is really simple, i'm just making tests.

PS: My character move by physic and force, not by translation.

If you need more infos or details to help me, don't hesitate.
Thanks!

1 Answer

0 votes
answered by (8.5k points)

Hey,

That looks like a general ragdoll stability issue. Following some guidelines here might help.

Looks like the fixed joint is fighting with the joint(s) that keep the puppet standing up, so you might want to reduce the pinning of the puppet when you attach that fixed joint, to give it more room to reach for the fixed joint.

Best,

Pärtel

commented by
Hi again, thank you for your answer, I was able to figure out that the issue was with the way I moved the dummy.

Maybe I should tell you what I'm trying to accomplish and you can confirm if your asset is supposed to work for this use-case?

My goal is to be able to grab and move physical objects in the scene. (Kind of like this https://www.youtube.com/watch?v=FgpUgRraAfA) but also be able to use animation as the game will be more story-driven.

For now what I was able to do is move the collider on the dummy using force and torque, so if I put a cube in the scene I'm able to push it around if it's not too heavy.

The next step is to be able to grab something, at first I tried to create a fixed joint between the hand on the puppet and the cube/wall, but it caused the glitch from the previous video as the collider on the dummy was able to move much farther than the joint on the puppet allow.

I tried to copy the joints from the puppet and put them on the dummy upper/lower arm and hand, and connect them to the rigidbody on the dummy. This seems to work as now I can't move away from the wall farther than the arm allow. Do you think I'm on the right track? Or do you feel that maybe I'm trying to use your asset in a way that is not really possible?

From my understanding right now, I should do most of my interaction on the dummy and try not to touch the puppet.

Please tell me if you have any suggestion.

Thank you.

Welcome to RootMotion Q&A, where you can ask questions and receive answers from the developer of Final IK and PuppetMaster and other members of the community.

Post as a guest, create an account or login via Facebook.

Please use the correct category when you post your questions.

...