0 votes
asked in General Help by (140 points)
Hi there,

I own both final ik and puppetmaster - currently my enemies have a puppetmaster on them and I was hoping to simply add a script that could detect oncollisonEnter events and then tell me which collider was hit so I can animate the hit depending on that. Or have have the puppet react to the hit.

Sadly it seems that OnCollionEnter() doe snot detect the compound Collider created by the puppetmasters colliders.

What would be the best to go about this.

1 Answer

0 votes
answered by (8.5k points)
Hey,

Maybe your puppet is in Kinematic mode? If so, please go to the physics settings and set Contact Pairs Mode to "Enable Kinematic Static Pairs".

You can also use BehaviourPuppet.OnCollision delegate to get a call from BehaviourPuppet every time the puppet collides with something.

Best,

Pärtel

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.

...