0 votes
asked in General Help by (160 points)
I Use PuppetBehaviour for simulation the people who was playing slide(the people slip base the shape of slide),so when the people colliderEnter the slide,I set the puppetBehaviour.state to Unpinned (PuppetBehaviour.SetState(RootMotion.Dynamics.BehaviourPuppet.State.Unpinned ), when the people ColliderExit the slide ,I set the puppetBehaviour.state to Puppet(PuppetBehaviour.SetState(RootMotion.Dynamics.BehaviourPuppet.State. Puppet), Then I Found the Rigidbody lose it`s velocity and drop down;

hope your Answer;

1 Answer

0 votes
answered by (24.6k points)

If your character controller is a rigidbody, you could transfer the velocity from the hip muscle to the character controller before you call SetState:

characterRigidbody.velocity = puppetMaster.muscles[0].rigidbody.velocity;
commented by (160 points)

help me a lot!!!

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.