0 votes
asked in General Help by
A good way to automatically disable and enable puppetmaster when character is not in sight or far away, this does however not include "dead characters" any ideas?

1 Answer

+1 vote
answered by (18.2k points)
Hey,

Yes, just set PuppetMaster.mode = PuppetMaster.Mode.Disabled; and back to Active.

You can make a script that checks distance from the camera and also renderer.isVisible on any of the character's SkinnedMeshRenderers.

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.

...