+1 vote
asked in General Help by

Sorry in advance for the long post:

I'm using puppet master on a project at the games studio I work for, and am driving the movement, rotation, and animations of a Hand through the system - to achieve a physics based ragdoll for a hand. But I've running into some problems which I haven't been able to solve:

I'm having an issue with Puppet Master in the setup I'm using to drive a physically animated hand (seen in Fig 1.) I have the configurable joints and muscles set up, and corresponding to bones in the skinned mesh, but it isn't seeming to drive the bones through puppet master.

Fig 1. Puppet Master moving, Skinned mesh not:  https://imgur.com/cUNXdjF

I'm not sure if this is due to my setup: I'm trying to drive the Position, Roll, and Pitch joints through the Puppet Master Joints (Hierarchy Seen in Fig 2.) and want them to translate over to the Skinned Mesh rig, they seem to be updating the Puppet Master correctly, but no translation over to the hooked up muscles (Seen in Fig 3.).

Fig 2. Puppet Master and Skinned Mesh in Hierarchy:  https://imgur.com/WbJqaax

Fig3. Puppet Master Muscle Settings:  https://imgur.com/mjapIAF

The other problem I'm having is actually driving the animations through the puppet master rig. I think I set up the connections correctly but I'm getting an animating skinned mesh, and a non animating puppet rig, is there something wrong with my settings? (example Fig 4).

Fig 4. Puppet Master rig not animating https://imgur.com/vG9MKez

The third issue I'm having is actually getting collisions through the Puppet Master rig to work (Fig 5.) This may be unrelated to puppet master and instead down to unity Rigidbody nesting, if so we can ignore this, but I did want to ask are there any examples where you're not driving movement through root motion?

Fig 5. Collisions not colliding:  https://imgur.com/gCBhymG

And finally possibly related or not, I'm having a null ref on behaviours in puppet master when it's attempted to iterate through these. (Fig 6.)

Fig 6. Null Ref Errors:  https://imgur.com/YNULtLj

I appreciate this is a long post, so I highly appreciate your time to help.

Any additional information you require I'll get over to you.

1 Answer

0 votes
answered by (22.8k points)
Hey, sorry for the long wait!

I cannot guess in this case, what the exact problem might be. The null refs seem to suggest BehaviourPuppet has been destroyed after initiation or gone missing. That might be the cause of the other issues you were seeing too.

Any change you could send me a repo so I could take a closer look?



commented by

Thanks for your answer, Pärtel.

I've fixed the null refs problem for now (I feel like there may be a deeper issue than my superficial fix, but it'll do for now).

I can try and get you a repo so that you can have a closer look, in the meantime I wanted to try and see if my setup looked right to you in the screenshots I've linked above, and if (in theory) PuppetMaster will be able to achieve what we're aiming for:

A hand that is moved and rotated using forces, has animations applied to it, and collides with the world, similarly to how a biped would. In essence I'm trying to make sure that, before I go too deep down a rabbit-hole, PuppetMaster will be able to function on a non-bipedal, non-humanoid rig?

I'll attempt to get a repo sorted for you to look at so we can dig slightly further into why we may be running into these issues, and in the meantime thank you so much for your support - the Root Motion assets are brilliant in quality, and in support!


Tim Lewis

PS: would it be easier if I email support@root-motion.com directly, so we can continue on there instead?

commented by

To further the progress of solving this problem I've created a bitbucket repository with a mockup of the rig and setup (I'm unfortunately not able to link you onto the game's repo for NDA reasons and whatnot).

I've kept it private, as it obviously has Root Motion assets on it that I don't want to be sharing as open source files, so if you could let me know an email to send access to this repo to that would be much appreciated.
Thanks very much.

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.